-
Notifications
You must be signed in to change notification settings - Fork 101
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
Refreshing a region containing tooltips causes a memory leak #220
Comments
Destroying the tooltip before sending the AJAX request might help: http://stackoverflow.com/questions/28220597/destroy-all-bootstrap-tooltips-in-a-div |
Similar memory leaks should affect every component based on jQuery. Marco Rinck's JUA framework might help (after adapting it to jQuery instead of AngularJS). |
Todo: update layout/navigationAndAJAX.jsf of the showcase after fixing the bug. |
zhedar
added a commit
to zhedar/BootsFaces-OSP
that referenced
this issue
Apr 21, 2016
zhedar
added a commit
to zhedar/BootsFaces-OSP
that referenced
this issue
Apr 22, 2016
zhedar
added a commit
to zhedar/BootsFaces-OSP
that referenced
this issue
Apr 22, 2016
zhedar
added a commit
to zhedar/BootsFaces-OSP
that referenced
this issue
Apr 25, 2016
zhedar
added a commit
to zhedar/BootsFaces-OSP
that referenced
this issue
Apr 27, 2016
zhedar
added a commit
to zhedar/BootsFaces-OSP
that referenced
this issue
Apr 28, 2016
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This problem can be observed in the AJAX+RTL demo of switch.xhtml in the showcase. Moving the mouse over the switch makes the tooltip occur. When you toggle the switch, it is replaced with a newer version of the same switch. However, the tooltip remains, and there's no way to hide it again. Looking at the end of the HTML view reveals that there are two tooltip divs. Each time you toggle the switch, another tooltip div appears.
The text was updated successfully, but these errors were encountered: