htmx icon indicating copy to clipboard operation
htmx copied to clipboard

loading-states extension and request timeout

Open Mueller-Nico opened this issue 3 years ago • 0 comments

If a request timeout has occurred, all elements remain disabled. Obviously, loading states are only reset after htmx:afterOnLoad is triggered. But this event is not triggered after 'ontimeout'. I haven't tested 'onabort' and 'onerror'. The same problem is likely to occur with these events.

Mueller-Nico avatar Nov 03 '22 09:11 Mueller-Nico