reactjs - Shadow DOM retargeting and Radium :hover -


i ran issue while using react inside shadow dom. i've been using setup similar handle event retargeting.

https://github.com/lukasbombach/react-shadow-dom-retarget-events/blob/master/index.js

radium ':hover' doesn't work when wrapping react components

the issue radium uses onmouseenter , onmouseleave. because of way bubbling works these events won't see these events firing when interacting elements inside shadow dom. solution jeff dolle , worked out dispatch onmouseenter events when onmouseover events firing target element , onmouseleave events when onmouseout events firing.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -