bigskysoftware / bigskysoftware/htmx

HX-Location broken in 2.0.3: htmx:targetError

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

Description

I have a URL returning `HX-Location` like this: `{path: '/some-other-url/'}`. Page is "redirected" to the new URL.

This works fine in htmx 2.0.2, in 2.0.3 it breaks with `htmx:targetError`. Target is defined correctly in parent element.

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.