Closed careless-esper closed 2 years ago
This plugin does not function properly when using with an instance of Embla Carousel contained in a Shadow DOM.
https://codesandbox.io/s/sleepy-wing-e8or8g
composed: true
Thanks for opening the issue, providing a repro and suggesting even a fix. 🤟
I'll try to get this fix in later today/tomorrow.
@careless-esper Thanks again, for the perfect issue & repro.
I even stole your repro and added it to the demos, hope that's OK 😬
The fix is now available in newly published v2.1.1
Bug Description
This plugin does not function properly when using with an instance of Embla Carousel contained in a Shadow DOM.
CodeSandbox
https://codesandbox.io/s/sleepy-wing-e8or8g
Steps to reproduce
Suggested Fix
composed: true
to the dictionary parameter (See https://developer.mozilla.org/en-US/docs/Web/API/Event/composed).