future-library-81302
01/01/2022, 2:51 AMfuture-library-81302
01/01/2022, 2:58 AMfuture-library-81302
01/01/2022, 2:59 AMfuture-library-81302
01/01/2022, 3:04 AMfuture-library-81302
01/01/2022, 3:05 AMprehistoric-cat-63987
01/01/2022, 9:33 AMmysterious-toddler-20573
01/01/2022, 11:55 AMsparse-musician-64201
01/01/2022, 10:51 PMsparse-musician-64201
01/01/2022, 10:52 PMfuture-library-81302
01/02/2022, 1:31 AMfuture-library-81302
01/02/2022, 5:22 AMgorgeous-ghost-95789
01/02/2022, 3:48 PM<button hx-post=ββ script=βon click set [@disabled=true]β>gorgeous-airport-54386
01/03/2022, 4:12 PMfresh-controller-36545
01/03/2022, 4:15 PMpartial/fragment loaded via HTMX is being displayed?
https://i.imgur.com/pV1CyMK.mp4adamant-exabyte-92636
01/03/2022, 4:28 PMhtmx.onLoad(function(elt) {
createWidgets(elt);
});
That way, no matter whether its the first page load, or on the onload when we go back (i.e. a partial), it gets process again. Is that what you're after?fresh-controller-36545
01/03/2022, 4:31 PMfragment displaying a different issue though?
Thought since it's somewhat related to the JS widgets (having to do with history etc) you might've ran into it too.adamant-exabyte-92636
01/03/2022, 4:43 PMadamant-exabyte-92636
01/03/2022, 4:43 PM<div id="content" hx-history-elt="true">late-king-98305
01/03/2022, 4:45 PMadamant-exabyte-92636
01/03/2022, 4:45 PMfresh-controller-36545
01/03/2022, 4:52 PMbody (since the fragment doesn't have/require any) that the default hx-history-elt setting should be just fine. It seemed to me this tag was only required when you want to customize snapshotting for a super advanced use case.
Any idea on how I can force full page reloads when navigating?adamant-exabyte-92636
01/03/2022, 4:52 PMadamant-exabyte-92636
01/03/2022, 4:53 PMadamant-exabyte-92636
01/03/2022, 4:54 PMfresh-controller-36545
01/03/2022, 4:54 PMsparse-musician-64201
01/03/2022, 4:57 PMadamant-exabyte-92636
01/03/2022, 4:59 PMfresh-controller-36545
01/03/2022, 5:10 PMmysterious-toddler-20573
01/03/2022, 5:10 PMmysterious-toddler-20573
01/03/2022, 5:11 PMhistoryCacheSize to 0