Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/backface visibility #11

Merged

Conversation

shiftonetothree
Copy link

make background optional
fix backface-visibility on safari and firefox

@@ -145,6 +145,8 @@ export default class FlipNumber extends React.Component<Props, State> {
color,
background,
backfaceVisibility: 'hidden',
WebkitBackfaceVisibility: 'hidden',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be a fix from auto prefix? otherwise, we have to do transform and everything elese

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree

@@ -18,7 +18,7 @@ type Props = {
length: number,
height: number,
color: string,
background: string,
background?: string,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -39,7 +39,7 @@ export default () => {
| `height` | number | ✓ | Individual number height |
| `width` | number | ✓ | Individual number width |
| `color` | string | ✓ | Number color |
| `background` | string | | Background color |
| `background` | string | | Background color |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bluebill1049
Copy link
Member

谢了 张卓诚

@bluebill1049 bluebill1049 merged commit 3d9d4d6 into beekai-oss:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants