You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending <div hx-swap-oob="true" class="min-h-1 overflow-hidden rounded-t-md w-full transition-all ease-linear duration-500 bg-red-500 dark:bg-red-700" id="panel_header-32"></div> over a websocket does not trigger the transition. If, however, you perform a hx-get request and perform oob-swap with the exact same HTML swap it does show the transition.
I had a look through both the WebSocket extension and the base HTMX library but as I'm no expert in JavaScript i couldn't find anything.
Sending
<div hx-swap-oob="true" class="min-h-1 overflow-hidden rounded-t-md w-full transition-all ease-linear duration-500 bg-red-500 dark:bg-red-700" id="panel_header-32"></div>
over a websocket does not trigger the transition. If, however, you perform a hx-get request and perform oob-swap with the exact same HTML swap it does show the transition.I had a look through both the WebSocket extension and the base HTMX library but as I'm no expert in JavaScript i couldn't find anything.
Using HTMX: https://unpkg.com/[email protected]
Using websocket extension: https://unpkg.com/[email protected]/dist/ext/ws.js
Doesn't matter if I use "hx-swap" attribute to set a transition either. Tested on both Firefox and Chromium.
The text was updated successfully, but these errors were encountered: