Skip to content

sse extension, swap delay not working #127

Open
@RobMaskell

Description

@RobMaskell

I have SSE extension setup and working as per the following HTML

<div hx-ext="sse" sse-connect="/updates" sse-swap="type" hx-swap="afterbegin swap:10s">

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
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions