Tabster currently uses Node.parentElement to walk up the parents of a given element. This method will not walk up from shadow root (or from slotted elements).
We need to implement a "getParent(element)" function to handle elements inside shadow roots and slotted elements.
Tabster currently uses
Node.parentElement
to walk up the parents of a given element. This method will not walk up from shadow root (or from slotted elements).We need to implement a "getParent(element)" function to handle elements inside shadow roots and slotted elements.
This is implemented
We need to validate it with tests and decide how to best integrate it into Tabster.