Skip to content

Conversation

dmcinnes
Copy link

I was seeing a problem that when a node was created and then was set to hidden by jQuery, any node I created after that point would also be hidden.
I looked into the code and CSS2Properties' styleIndex was getting set to supportedStyles. Any modifications to styleIndex would also update supportedStyles, so further instances of CSS2Properties will also get those changes.
I've updated it to instead make a clone using extend and also added a test for the issue.

Thanks for the extremely useful project!

@elemoine
Copy link

being hit by the same issue, any plan to merge this pull request?

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.

3 participants