bigskysoftware / bigskysoftware/htmx
No standard way of triggering a boosted refresh
Open
- Dominant language
- JavaScript
- Stars
- 49.4k
- Forks
- 1.7k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 30
Description
I want to refresh the page user is in with htmx after a put request.
having a `div` with contents (or `body` itself), with `hx-trigger="refresh-page" and correct target and swap values, and sending `HX-Trigger: refresh-page` header, makes the scrollbar reset (jumps to the top).
I have to have a `?redirect=/url` param for the put request, which I think it could be avoided if hx-trigger worked without reseting the scroll bar.
Or like a weird child of HX-Location and HX-Refresh, there was a standard way of boost-refreshing the page. Something like `HX-Refresh-Boosted: true`
Contributor guide
Assessment
This issue has not been assessed yet.