taxi icon indicating copy to clipboard operation
taxi copied to clipboard

Scripts are not executed in the page loaded by taxi.js

Open MehrdadKhnzd opened this issue 8 months ago • 3 comments

Describe the bug So, I'm trying to use this library to add some SPA-like functionality to my Astro + SolidJS website. I made it work, but the problem is that my islands don't work when I navigate using taxi.js, and everything becomes static. It seems that the script tags are not executed when taxi.js fetches a new page. Whenever I first directly visit a page that contains the islands, taxi.js works if I go to other pages and get back. But if I first visit a static page and then navigate to the page with the islands, it doesn't work and becomes static.

To Reproduce An Astro project with any external component (e.g. SolidJS in my case).

MehrdadKhnzd avatar Oct 19 '23 18:10 MehrdadKhnzd