-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Feature/backface visibility #11
Conversation
src/flipNumber.js
Outdated
@@ -145,6 +145,8 @@ export default class FlipNumber extends React.Component<Props, State> { | |||
color, | |||
background, | |||
backfaceVisibility: 'hidden', | |||
WebkitBackfaceVisibility: 'hidden', |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…refox" This reverts commit b8f0b9f.
谢了 张卓诚 |
make background optional
fix backface-visibility on safari and firefox