1cg

Results 301 comments of 1cg

can you try w/ the latest version in the `dev` branch? @Renerick made some very nice changes to web sockets that integrates it much more tightly w/ the standard swap...

Hmm. The only way I can see that happening is if the elt is not in the hierarchy or bubbling is being cancelled for some reason. It all ends up...

Hmm. The only way I can see that happening is if the elt is not in the hierarchy or bubbling is being cancelled for some reason. It all ends up...

We have handling for this: https://github.com/bigskysoftware/htmx/blob/3c3cd304ae98b061b0a9310709a7f0fd8c094795/src/htmx.js#L2153 But maybe there is a bug here?

Checking in on this. It should work, since my code is perfect in every way and never has any bugs no sir.

Hi there, resurrecting this: are you still seeing issues w/ preserving selection? It should work, looking at the code.

Hmmm, this is way above my pay grade. Are you willing to look into the issue? It sounds like a Safari bug to me, but if we can work around...

That seems like a bug. Looking at the source code it looks like it should work on any element, even if you don't have an hx-get. I will try to...

Can you set a breakpoint here: https://github.com/bigskysoftware/htmx/blob/ecce4f19d4792f324f5fffc4cd80daeee45cce78/src/ext/class-tools.js#L73 And see if the `classes` attribute is being properly handled?

You can also use the `hx-swap="none"` approach: https://htmx.org/docs/#swapping But a 204 response code works fine too :)