AFASSoftware / maquette

Pure and simple virtual DOM library

Home Page:https://maquettejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

createParentNodePath cannot find rootNode in exotic case in Safari

johan-gorter opened this issue · comments

An issue has been identified where createParentNodePath ends up not finding rootNode. The code should be made more robust to not crash.

commented

@johan-gorter was this issue resolved? We are currently having an issue where the onmouseleave event is triggering on a removed dom element causing an error in that method in Safari.

This issue could not be reproduced anymore until now, so we did not resolve it.

Version 3.3.7 should fix your problem. Can you please confirm that it did?

commented

@johan-gorter I appreciate the quick turn around. That fixed the issue! A different working solution was to remove the onmouseleave method and add a mouseleave event listener in the afterCreate(), but this fix is much more desirable. Thanks again.