Skip to content

Conversation

@kassens
Copy link
Member

@kassens kassens commented Apr 7, 2015

When the style property existed, but was set to null, this._previousStyleCopy
was not set back to null causing an old value to persist. This broke setting
the style to null the next time.

Fixes #3606.

When the style property existed, but was set to null, `this._previousStyleCopy`
was not set back to `null` causing an old value to persist. This broke setting
the style to `null` the next time.

Fixes facebook#3606.
@zpao
Copy link
Member

zpao commented Apr 7, 2015

👍

zpao added a commit that referenced this pull request Apr 7, 2015
Fix for style not always reset when set to null
@zpao zpao merged commit af819d1 into facebook:master Apr 7, 2015
@sophiebits sophiebits added this to the 0.13.2 milestone Apr 7, 2015
@kassens kassens deleted the set_style_null branch April 7, 2015 20:19
zpao added a commit to zpao/react that referenced this pull request Apr 13, 2015
Fix for style not always reset when set to null
zpao added a commit to zpao/react that referenced this pull request Apr 17, 2015
Fix for style not always reset when set to null
zpao added a commit to zpao/react that referenced this pull request Apr 18, 2015
Fix for style not always reset when set to null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setting attribute "style" to null breaks this attribute

3 participants