htmx icon indicating copy to clipboard operation
htmx copied to clipboard

hx-swap-oob tag makes it's way to dom when it is not needed

Open MichaelWest22 opened this issue 1 year ago • 0 comments

I've noticed that when using hx-swap-oob with default true or outerHTML swap strategies that this tag that is used to control the oob swap is then copied into the DOM page where it has no function and just causes confusion. This tag is only needed in the response text to control the logic of the swap but is not processed by htmx once it hits the DOM.

MichaelWest22 avatar Aug 16 '24 02:08 MichaelWest22