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
Versions
BulmaJS: 0.10.0
Browser: Any (Chrome/Firefox(
Operating system: Linux/Windows
Describe the bug
When a modal is destroyed the key event listener is not removed. Thus, if a key is typed afterwards on the page a JS error is raised because of the elements in the listener not existing anymore: modal.js:193 Uncaught TypeError: Cannot read property 'classList' of null
Versions
BulmaJS: 0.10.0
Browser: Any (Chrome/Firefox(
Operating system: Linux/Windows
Describe the bug
When a modal is destroyed the key event listener is not removed. Thus, if a key is typed afterwards on the page a JS error is raised because of the elements in the listener not existing anymore:
modal.js:193 Uncaught TypeError: Cannot read property 'classList' of null
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be raised. The event listener should be removed on destroy.
Screenshots
The text was updated successfully, but these errors were encountered: