react-css-transition icon indicating copy to clipboard operation
react-css-transition copied to clipboard

marginLeft not a functioning property

Open daredoes opened this issue 7 years ago • 0 comments

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.

daredoes avatar Mar 06 '18 22:03 daredoes