-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I'm using htmx v2.0.6, and htmx:abort
doesn't seem to be working on elements inside the Shadow DOM. This is the case both with directly using htmx.trigger(element, 'htmx:abort')
and with using hx-sync
(which looks to be using htmx:abort
behind the scenes).
Looking at the source code, https://github.com/bigskysoftware/htmx/blob/master/src/htmx.js#L5098 seems to be the only place listening for that event, and it's doing so directly on body
, so I'm guessing maybe the htmx:abort
events dispatched from Shadow DOM elements just aren't being picked up by any event listener?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working