htmx icon indicating copy to clipboard operation
htmx copied to clipboard

hx-boost ignores changing body css classes

Open dwasyl opened this issue 1 year ago • 3 comments

Using hx-boost="true" ignores any new/changed class= entries for the body tag (when hx-boost is on the <body> tag).

Is this the intended behaviour? We have some functionality that depends on body classes, and while we can restructure an inner div to serve the same function, it seems unnecessary as boost should merge in the new body.

I've tested this on 1.9.0.

If this is the intended behaviour perhaps something could be added to the docs.

dwasyl avatar Apr 17 '23 06:04 dwasyl