htmx icon indicating copy to clipboard operation
htmx copied to clipboard

htmx-swapping and htmx-settling classes not added to OOB targets

Open wnortje opened this issue 4 years ago • 2 comments

This may be related to #664.

I have a response that includes OOB elements. When the updates are made the target gets the htmx-swapping and htmx-settling classes applied as expected but the OOB elements do not get them. All elements are properly updated with their new content.

wnortje avatar Dec 04 '21 17:12 wnortje

This is loosely related to the work on WebSockets, which uses OOB syntax when pushing freshly received messages into the DOM. Though it currently duplicates some of this logic, it would be awesome to expose this aspect of swapping so that (once changes are done here) WebSockets could inherit these updates, too.

benpate avatar Dec 09 '21 03:12 benpate