-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Rebuild event listeners when needed #30
Comments
@EragonJ Good point, thanks. |
I added this for my personal use : EragonJ@599145b If you are fine with this implementation for better idea, I am willing to help. |
The main problem is that it's hard to manipulate ReactTooltip from outside of the world (Or is it possible to expose any method for outer use ?) Some idea from the document : https://facebook.github.io/react/tips/communicate-between-components.html
|
or, we can add one extra property for ReactTooltip to let users to decide whether they want to register this global event or not ? |
@EragonJ really appreciate for your enlightenment
|
@wwayne +++ !! Glad to see this patch :P |
Hi @wwayne, do you think it is reasonable to let React-Tooltip register a customized event to make sure it can rebuild listeners when needed ?
Right now, ReactToolip only works for pre-existed elements and if the DOM structure is changed, new-added elements will not be handled by this component.
Any idea ?
The text was updated successfully, but these errors were encountered: