htmx
htmx copied to clipboard
loading-states extension and request timeout
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.