[htmx4] When importing and configuring htmx with JS, you can't turn off indicator CSS
Maintainers usually reply within 4 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start at the htmx constructor and initialization path mentioned in the issue, then trace where the default config and indicator CSS are created. Check how the import initializes the instance and whether configuration can be applied before styles are added. Done means setting htmx.config.includeIndicatorCSS to false prevents the indicator CSS from being included; add or run a regression test for that behavior.
Written by the indexing model from the issue text.
Description
Version: 4 latest
If you're importing and bundling htmx with JS, import creates and initialises new htmx() object.
In constructor, htmx sets default config and immediately creates css styles, giving you no way to turn them off via htmx.config
import htmx from 'htmx.org';
// htmx already included css styles for .htmx-indicator
htmx.config.includeIndicatorCSS = false; // does nothing
- Dominant language
- JavaScript
- Stars
- 49.6k
- Forks
- 1.7k
- Avg merge
- 11d 17h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bigskysoftware/htmx
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
bigskysoftware/htmx#4151 ·
Maintainers usually reply within 4 days
-
[htmx4] Swap style for boosted elements is not outerSyncPossibly taken @1cg claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bigskysoftware/htmx#4138 · 3 comments · 1 assignee ·
Maintainers usually reply within 4 days
-
[htmx4] HTMX errors if HX-Trigger Event Detail is nullPossibly taken @MichaelWest22 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bigskysoftware/htmx#4135 · 3 comments · 1 assignee ·
Maintainers usually reply within 4 days
-
[htmx4]: an `hx-trigger` filter throws a SyntaxError when the event has a property that isn't an identifierPossibly taken @MichaelWest22 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
bigskysoftware/htmx#4123 · 1 assignee ·
Maintainers usually reply within 4 days
-
No GitHub Release for version 2.0.11Possibly taken @1cg claimed this 5 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 75/100
bigskysoftware/htmx#4117 · 1 assignee ·
Maintainers usually reply within 4 days
All issues in bigskysoftware/htmx
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
idean3885/claude-ops-agent#765 ·
Maintainers usually reply within 1 day
-
docs html v6
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
check:failed feeds:edit
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
iptv-org/database#38385 · 1 comment ·
Maintainers usually reply within 6 days
-
release-followup
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day