bigskysoftware / bigskysoftware/htmx-extensions

WS extension unreliable on mobile browsers (IOS)

Open
#98 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
284
Forks
88
PR merge metrics
No merged PRs in 30d

Description

I've been struggling with making the ws extension reliable on mobile browsers. I am testing with my iphone. I put some debug code in the extension to write to the DOM when the socket close and error events are fired and this does not always happen when the browser loses and gains focus. I though I'd raise this issue in case anyone else has experienced it and knows of a work around.

I think it is related to this: https://stackoverflow.com/questions/75869629/ios-websocket-close-and-error-events-not-firing although the events do generally fire for me but not always, so sometimes the software thinks the socket is still open but actually it is no longer operating.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.