Fraser
Fraser
I was tempted to have a bash at this, but just wanted to clarify/confuse(!?) the issue. > ...By definition, IDs are unique and cannot occur more than once in the...
Have popped a PR in to address this based on my previous comment - https://github.com/bigskysoftware/htmx/pull/2319
@Atmos4i to clarify, that's not my explanation, that is the wording of the specification. > the "home subtree" of an element is defined as the portion of the DOM tree...
@Atmos4 > The example you provided is only involving document, so it fails to illustrate the concept of subtree. Ok I think I see the misunderstanding, my simple contrived example...
To follow up to this, re the comment from @Encephala - https://github.com/bigskysoftware/htmx/issues/1537#issuecomment-1834679051 > This problem doesn't just apply to hx-swap-oob, it applies to any selector HTMX uses. The following snippet...
@Atmos4 Yes, the root issue was `hx-swap-oob` - the `hx-target`, etc, was from a follow on comment in this thread, if indeed it is only ever a single ID then...