Skip to content

Vanilla Javascript Reload (Astro View Transitions) #3659

Open
@jesseagleboy

Description

@jesseagleboy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions