-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sse extension, swap delay not working #127
Comments
Looking at it a bit more, in the html code proper, the new I don't know this codebase though so this all could be by design, but it does seem to explain why |
Hey, yep you are right, this is an issue with the htmx API right now, see PR bigskysoftware/htmx#2845 that would add support for swap delay in calls from extensions or other external code As for the code snippet display on Safari, that's weird 😮 documentation improvements are always welcome btw, so if you're interested, please feel free to open a PR to fix that! |
@Telroshan thanks, glad to know I'm not going mad :) Safari has always been weird with scrollbars I suspect it doesn't allow space for them as they pop up only when needed. If I can remember the fix I might look at a PR |
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 setswap:
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
The text was updated successfully, but these errors were encountered: