Closed charlesroelli closed 2 years ago
useRootClose should inspect Event.composedPath() so that it can react correctly to events coming from an open shadow root.
useRootClose
Event.composedPath()
In order to test this, it was also necessary to add a workaround for simulant which is creating events with composed: false by default.
composed: false
Lint errors should be fixed now.
Thanks!
useRootClose
should inspectEvent.composedPath()
so that it can react correctly to events coming from an open shadow root.In order to test this, it was also necessary to add a workaround for simulant which is creating events with
composed: false
by default.