ui icon indicating copy to clipboard operation
ui copied to clipboard

fix(useClickOutside): fix handling in shadow dom

Open kyletsang opened this issue 2 years ago • 0 comments

Fixes #90

Initial idea for fixing the shadow dom issue. Seems to work ok in React 16-18. Tests fail though because currentEvent is undefined in the test environment and it's triggering the hacky fallback code.

kyletsang avatar Aug 09 '23 04:08 kyletsang