You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, just noticed that Html plugin does not remove it's listener for message event, plugin's detach function is not called on fancybox destroy so window.removeEventListener is also never called. It tends to adding listeners for such event on each fancybox opening. Sure it won't cause serious performance issues, but it worths mentioning anyway
Tested on my websites with latest version, screenshot is captured on yours
Reproduction
Open fancybox multiple times and check listeners for message event
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi, just noticed that
Html
plugin does not remove it's listener formessage
event, plugin'sdetach
function is not called on fancybox destroy sowindow.removeEventListener
is also never called. It tends to adding listeners for such event on each fancybox opening. Sure it won't cause serious performance issues, but it worths mentioning anywayTested on my websites with latest version, screenshot is captured on yours
Reproduction
Open fancybox multiple times and check listeners for
message
eventAdditional context
No response
The text was updated successfully, but these errors were encountered: