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

transitionProperty and transitionTimingFunction order does not match #852

Open
jjjreisss opened this issue Mar 5, 2018 · 2 comments
Open
Labels
needs: help project:react-native-web Issue associated with react-native-web

Comments

@jjjreisss
Copy link

Do you want to request a feature or report a bug?
A bug.

If the current behavior is a bug, please provide the steps to reproduce and
if a minimal demo of the problem via Glitch or similar (template:
https://glitch.com/edit/#!/react-native-web-playground).

  1. Create a component which uses StyleSheet for styling and apply this class
.myClass {
    transitionProperty: 'transform, opacity',
    transitionDuration: '0.15s',
    transitionTimingFunction: 'ease, step-end'
}
  1. Run the project locally and examine the DOM node to which you've applied myClass
  2. Notice transition-property: -webkit-transform, transform, opacity; and transition-timing-function: ease, step-end;

Here, both ease and step-end are applied to transform: ease via -webkit-transform and step-end via transform.

What is the expected behavior?
Expect that ease be applied to transform and step-end be applied to opacity

  • OS: macOS Sierra 10.12.6
  • Browser: Chrome 64.0.3282.186, Safari 11.0.3
  • React Native for Web (version): 0.3.1
  • React (version): 16.2
@necolas
Copy link
Owner

necolas commented Mar 5, 2018

This is likely an issue with the inline-style-prefixer and it not considering how these properties are related when generating prefixes. Mind linking this to an issue on that repo?

@necolas
Copy link
Owner

necolas commented Sep 17, 2018

Still waiting on robinweser/inline-style-prefixer#154 to get some attention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: help project:react-native-web Issue associated with react-native-web
Projects
None yet
Development

No branches or pull requests

2 participants