This is the same problem described here, including a minimal case: https://www.reddit.com/r/elm/comments/5p4hqu/grammarly_chrome_extension_textarea_in_elm_app/
Iāve observed this in both Firefox and Brave.
Not impossible that the same problem would occur with other shadow DOM-based frameworks as well.