Closed dundalek closed 4 months ago
Keyboard shortcuts interfere when typing inside textarea and certain characters can't be written.
Repro: Tap UI with textarea, focus the textarea and try to type "e y h j k l v".
(tap> (with-meta [:textarea] {:portal.viewer/default :portal.viewer/hiccup}))
I noticed it works correctly for text inputs, it looks like there is a code detection when inputting text to disable matching shortcuts.
This PR also adds textarea to be detected.
Thanks for the fix @dundalek!
Keyboard shortcuts interfere when typing inside textarea and certain characters can't be written.
Repro: Tap UI with textarea, focus the textarea and try to type "e y h j k l v".
I noticed it works correctly for text inputs, it looks like there is a code detection when inputting text to disable matching shortcuts.
This PR also adds textarea to be detected.