bigskysoftware / bigskysoftware/htmx

Combining several event modifiers in `hx-trigger` doesn't work correctly

Open
#2,339 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

Example:

```

blah-blah

```

Will only take care of `delay:100ms`, the `once` will be ignored. It's quite unclear how to achieve a combined result.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided hx-trigger="load once delay:100ms" example with ws-send, then trace how hx-trigger modifiers are parsed and applied. Done means the same trigger honors both once and delay:100ms, with behavior verified against the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.