I'm wondering if I've missed something in the release notes or if there is a regression with applying hx-get on an <a href=... tag.
In 2.0.4 I have
<a href="..."
hx-get="..."
hx-target="..."
hx-swap="innerHTML">
Link
</a>
In 2.0.4:
When I click this before htmx has parsed the page, href is used and causes a full navigation to the url. ✅
When htmx is parsed on the page, href is ignored and hx-get picks it up and does a swap on the target. ✅
In 2.0.5:
When I click this before htmx has parsed the page, href is used and causes a full navigation to the url. ✅
When htmx is parsed on the page, hx-get is ignored and it does a full navigation to the url. 🚫
This happens for me just upgrading from 2.0.4 > 2.0.5
I'm wondering if I've missed something in the release notes or if there is a regression with applying hx-get on an <a href=... tag.
In 2.0.4 I have
In 2.0.4:
When I click this before htmx has parsed the page, href is used and causes a full navigation to the url. ✅
When htmx is parsed on the page, href is ignored and hx-get picks it up and does a swap on the target. ✅
In 2.0.5:
When I click this before htmx has parsed the page, href is used and causes a full navigation to the url. ✅
When htmx is parsed on the page, hx-get is ignored and it does a full navigation to the url. 🚫
This happens for me just upgrading from 2.0.4 > 2.0.5