Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanilla Javascript Reload (Astro View Transitions) #3659

Open
jesseagleboy opened this issue May 20, 2024 · 0 comments
Open

Vanilla Javascript Reload (Astro View Transitions) #3659

jesseagleboy opened this issue May 20, 2024 · 0 comments
Labels
triage New issues

Comments

@jesseagleboy
Copy link

URL

https://ionicframework.com/docs/intro/cdn

Issue Description

Using Ionic + Capacitor to create a native/web-app with Astro, the current issue is that View Transitions prevents the vanilla Javascript CDNs from reloading again. That throws away the styling that the HTML tag implements for the proper styling if the page is viewed on iOS, Android, or the web. Astro has functions to run scripts at different points of the transition process but after looking through the Ionic Component documentation, I don't see a way to re-initialize Ionic. I'm not sure if this is more of an Astro problem or an Ionic problem.

@jesseagleboy jesseagleboy added the triage New issues label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New issues
Projects
None yet
Development

No branches or pull requests

1 participant