You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
bug What is the current behavior?
style attribute is not updated correctly when we set padding and paddingTop at the same time and then re-render with only padding. Same issue with border. I suppose that it would be the same with margin (not tested)
What is the expected behavior?
The DOM element style should be the last rendered one and should not be affected by the previous style value.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
Tested on chrome 54 with React 15.4 and 15.3.2
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
bug
What is the current behavior?
style attribute is not updated correctly when we set
padding
andpaddingTop
at the same time and then re-render with onlypadding
. Same issue withborder
. I suppose that it would be the same withmargin
(not tested)Example: http://codepen.io/testerez/pen/pNRQjW?editors=0010
What is the expected behavior?
The DOM element style should be the last rendered one and should not be affected by the previous style value.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
Tested on chrome 54 with React 15.4 and 15.3.2
The text was updated successfully, but these errors were encountered: