This PR adds a polyfill to keyborg so that it can detect focus changes within a shadow root.
focusin events don't seem to currently bubble out of an open shadow root, so when we detect that focus has moved into a shadow root we add a focusin listener to the shadow root to keep dispatching keborg focusin events.
This PR adds a polyfill to keyborg so that it can detect focus changes within a shadow root.
focusin
events don't seem to currently bubble out of an open shadow root, so when we detect that focus has moved into a shadow root we add afocusin
listener to the shadow root to keep dispatching keborg focusin events.