Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

marginLeft not a functioning property #6

Description

@daredoes

This block runs but throws an error
<CSSTransition defaultStyle={{ "margin-left": 0 }} enterStyle={{ "margin-left": transit(200, 250, "linear")}} leaveStyle={{ "margin-left": transit(0, 250, "linear")}} activeStyle={{ "margin-left": 200 }} active={this.state.showSider} >
This block throws no errors, but does not run.
<CSSTransition defaultStyle={{ marginLeft: 0 }} enterStyle={{ marginLeft: transit(200, 250, "linear")}} leaveStyle={{ marginLeft: transit(0, 250, "linear")}} activeStyle={{ marginLeft: 200 }} active={this.state.showSider} >

For some reason, marginLeft is not getting converted into margin-left before being inserted into the CSS.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions