proud-librarian-99598
10/19/2022, 8:23 PMhtmx.onLoad(), but there is a noticiable, visible change happening. I have simulated this at https://codepen.io/wimdeblauwe/pen/eYrwZgv for those that want to have a look. Just select a different date, and you will notice the flash.
Interestingly,, I had to do some funky stuff to simulate it with demo.htmx.org, because flatpickr already initialized the date picker in the <template> that simulated the server response.
Is there a possibility to temporarily mount something in the dom, non-visible and only swap after some callback was called where I could run the flatpickr initialization code to avoid that flicker?