-
-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listen to body mouseover/mouseout rather than on individual elements? #137
Comments
It could be a solution, but not sure if it would have some other side effects, will make experiments later. |
Also interested in this! |
This is a significant issue. |
Having the same issue. Dynamic elements have not come out, document.querySelectorAll not get data-tip elements, resulting in tooltip not come out. |
Stateless! It ReactTooltip#137-ready seamlessly.
It looks like the event listeners are added to each
[data-tip]
element when the ReactTooltip component mounts. That means I have to manually rebuild the bindings when the UI changes.Would it be possible to add a mouseover listener to the body and then check if the event target element has a
data-tip
attribute?The text was updated successfully, but these errors were encountered: