Slate editor used part of chrome extension triggers hotkeys on main website. #4470
Unanswered
atharva-bhange
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I am making a chrome extension which works on youtube website. I have content script which is compiled react code.
as shown in the picture title is my own text area but the text below it is part of slate editor. Now when i press space the hotkey on youtube gets triggered playing and pausing the video continuously.
So is this fixable or is this something hard to accomplish with this library. I understand this is not normal circumstance as part of chrome extension i am inject script onto existing website so keypress event listener are already in use. I belive this is maybe happening because this library is internal registering listeners for key press.
Let me know if you have any ideas.
Thank You!
Beta Was this translation helpful? Give feedback.
All reactions