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
The KeyboardHelper may brake site functionality because it add/remove document keyboard event listeners using event handlers properties. If the parent site has already some event listeners added in the same manner they are removed by this code and the site functionality is damaged.
mechris1
changed the title
SPIKE: KeyboardHelper may damage site functionality
Implement fix: KeyboardHelper may damage site functionality
Jan 30, 2024
The KeyboardHelper may brake site functionality because it add/remove document keyboard event listeners using event handlers properties. If the parent site has already some event listeners added in the same manner they are removed by this code and the site functionality is damaged.
Using addEventListener/removeEventListener would be better, to preserve any previous event handlers.
The text was updated successfully, but these errors were encountered: