bigskysoftware / bigskysoftware/htmx

History Restore Request only Loads <body> not entire document

Open
#2,447 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

I think this issue is related to #2446

Follow the exact same steps as in that issue, but instead of returning a 303 instead return this html

```html

Moved to {{ url }}.

```

Htmx receives this content from the server but only replaces the document body, the html head is not updated. Even if the hx-retarget and hx-reswap headers are added the behaviour is the same

Will provide reproduction on request

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.