bumpy-monkey-26940
11/08/2021, 12:36 PMgorgeous-iron-50959
11/08/2021, 12:49 PMmysterious-toddler-20573
11/08/2021, 1:40 PMhttps://unpkg.com/htmx.org@1.6.0/dist/htmx.js and see where the exceptions are occurring?mysterious-toddler-20573
11/08/2021, 1:40 PMmysterious-toddler-20573
11/08/2021, 1:40 PMmysterious-toddler-20573
11/08/2021, 2:07 PMmysterious-toddler-20573
11/08/2021, 2:07 PMmysterious-toddler-20573
11/08/2021, 2:07 PMgorgeous-iron-50959
11/08/2021, 2:54 PMUncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at evalScript (https://unpkg.com/htmx.org@1.6.0/dist/htmx.js:1425:28)
at processScripts (https://unpkg.com/htmx.org@1.6.0/dist/htmx.js:1432:17)
at https://unpkg.com/htmx.org@1.6.0/dist/htmx.js:569:17
at https://unpkg.com/htmx.org@1.6.0/dist/htmx.js:2562:38
at forEach (https://unpkg.com/htmx.org@1.6.0/dist/htmx.js:239:21)
at doSettle (https://unpkg.com/htmx.org@1.6.0/dist/htmx.js:2561:29)mysterious-toddler-20573
11/08/2021, 3:09 PMsalmon-xylophone-28580
11/08/2021, 4:04 PMgorgeous-iron-50959
11/08/2021, 4:24 PMlemon-lawyer-82536
11/08/2021, 6:11 PMlimited-dress-93789
11/08/2021, 6:59 PMhx-boost), it looks like I need to actively set all default HTML elements to hx-swap="none" if the responses solely consist of hx-swap-oob="…" elements. Would it make sense to allow HTMX to detect that case and prevent the default body swap?mysterious-toddler-20573
11/08/2021, 7:00 PMmysterious-toddler-20573
11/08/2021, 7:01 PMlimited-dress-93789
11/08/2021, 7:04 PMtext/html but rather individual elements only, that only HTMX would know how to process anyway.mysterious-toddler-20573
11/08/2021, 7:04 PMmysterious-toddler-20573
11/08/2021, 7:05 PMlimited-dress-93789
11/08/2021, 7:05 PMmysterious-toddler-20573
11/08/2021, 7:05 PMmysterious-toddler-20573
11/08/2021, 7:05 PMmysterious-toddler-20573
11/08/2021, 7:05 PMlimited-dress-93789
11/08/2021, 7:05 PMmysterious-toddler-20573
11/08/2021, 7:06 PMlimited-dress-93789
11/08/2021, 7:06 PMmysterious-toddler-20573
11/08/2021, 7:06 PMlimited-dress-93789
11/08/2021, 7:07 PMmysterious-toddler-20573
11/08/2021, 7:10 PMlimited-dress-93789
11/08/2021, 7:17 PM<html> or <body> element as its root would be enough already. hx-boost is currently defined to target <body> by default, so that would sort of align.