Skip to content

transitionProperty and transitionTimingFunction order does not match #852

Open
@jjjreisss

Description

@jjjreisss

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions