You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
023-04-29T12:36:15.320Z] Error: A callback for the method 'component-update' threw error 'TypeError: Cannot read properties of null (reading 'firstChild')'.
If element received via signalr had hx-swap-oob="outerHTML" and some parent of the target had hx-swap="outerHTML"
I'm using htmx
1.9.2
with htmx-signalr and it fails on this linehtmx/src/htmx.js
Line 948 in 990cdd6
If element received via signalr had
hx-swap-oob="outerHTML"
and some parent of the target hadhx-swap="outerHTML"
For example with such layout:
When extension receives
It replaces the content correctly, but then throws above exception after which any further updates would be ignored.
The workaround is to set
hx-swap="innerhtml"
on the target node in the original layout [1], so call togetSwapSpecification
here returnsinnerhtml
.[1] Workaround
(Please let me know if the issue should be moved to the extension repo)
The text was updated successfully, but these errors were encountered: