Open Tommertom opened 1 year ago
Will not fix this for now as beforeNavigate is not available and no workaround I see acceptable to expose this hook
Users will have to use beforeNavigate in their code to have this event captured
Which isn't even a bad thing - it's a supported Kit API
Keeping issue open nevertheless
ionViewWillLeave does not fire in IonPage
because
import { beforeNavigate } from "$app/navigation";
gives an error (unresolvalble import)Anyone knows how to fix this? Probably something wrong with package.json?
https://github.com/Tommertom/svelte-ionic-npm/blob/main/components/IonPage.svelte