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
When I assign null to style attribute to reset it, it works... but only once. Any following changes of this value do nothing. Here's a fiddle demonstrating this - try to push the button several times: http://jsfiddle.net/bqnhkwju/
This seems like a strange behaviour to me - I wouldn't be surprised, if my first attempt to set style=null failed, but it doesn't and it silently breaks the style attribute.
The text was updated successfully, but these errors were encountered:
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.
Fixesfacebook#3606.
When I assign null to style attribute to reset it, it works... but only once. Any following changes of this value do nothing. Here's a fiddle demonstrating this - try to push the button several times:
http://jsfiddle.net/bqnhkwju/
This seems like a strange behaviour to me - I wouldn't be surprised, if my first attempt to set style=null failed, but it doesn't and it silently breaks the style attribute.
The text was updated successfully, but these errors were encountered: