bigskysoftware / bigskysoftware/htmx-extensions
sse extension, swap delay not working
- Dominant language
- JavaScript
- Stars
- 284
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
I have SSE extension setup and working as per the following HTML
```
```
The `afterbegin` is working, and I get a different effect if I change it to one of the other values, but the fragments swap in immediately whatever I set `swap:` too.
I had a quick look at the extension code, and it seems to generate a swap spec and pass it to the api swap function so I couldn't see an obvious problem, it looked like it ought to work
Also in Safari this is how that part of the docs render, the scroll bar is covering the bottom portion of the code making it tricky to read
Contributor guide
Research direction
Reproduce the issue with the supplied HTML and the SSE extension enabled, then trace how the extension builds its swap spec before calling the API swap function. Verify why the `swap:10s` delay is ignored while `afterbegin` works, and inspect the Safari rendering of the documentation code block. Done means the delay is honored and the affected documentation remains readable in Safari.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100