Htmx preload extension not working, default behaviour not firing network request on mouseover #3266
Replies: 2 comments 1 reply
-
Hey, Could you share what versions you are using for both htmx and the preload extension? I took a shot in this JSFiddle, mimicking your setup above, and it seems to work as expected ; a request is fired when hovering the button with my mouse. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response, tried it with just a plain html page and worked up from there, the script link was getting replaced with a partial, the problem is solved. But the now the request is being loaded twice, once on mouseover and then on the actual click event |
Beta Was this translation helpful? Give feedback.
-
Hi anybody here used preload extension with htmx, I am using it with django. But htmx does not fire any request after setting preloading to mouseover (I am using the preload cdn for loading and it seems to be working.)
ps. I am using django
This is the code snippet for reference, any help is appreciated, thanks
Beta Was this translation helpful? Give feedback.
All reactions