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
unbinding an event handler that is a method of a web component instance does not work and results in an error.
Below is a demo of the problem.
To reproduce the error, you need to click on the red area of the page and a popup will appear. To close the popup, you have to click anywhere on the page. This should also result in the event handler being unregistered, but instead an error is displayed in the console.
Using removeEventListener instead of unbind will silently fail.
Hello,
unbinding an event handler that is a method of a web component instance does not work and results in an error.
Below is a demo of the problem.
To reproduce the error, you need to click on the red area of the page and a popup will appear. To close the popup, you have to click anywhere on the page. This should also result in the event handler being unregistered, but instead an error is displayed in the console.
Using
removeEventListener
instead ofunbind
will silently fail.Thanks in advance!
Error
Issue Demo
The text was updated successfully, but these errors were encountered: