framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.12k stars 3.23k forks source link

Framework7 Svelte: Root page disappears on navigate back #4293

Open erskingardner opened 2 weeks ago

erskingardner commented 2 weeks ago

I'm posting here because the forum is blocking all new signups from all IP addresses.

I'm using framework7-svelte and have a page with several views (one that is set as the main view) and then pages that are loaded via routes (think whatsapp style messenger that navigates from a chats page, into a chat, and then clicking on the nav bar goes into a profile page).

There are no console errors and I can see that the page events are firing, the UI is just not being rendered properly. I've also added console logs on each route change and logged out the full route params, nothing seems amiss here. There's no difference in the params from when the page loads initially vs when it disappears.

Any ideas?

Muhammed-Rahif commented 2 days ago

I am also facing this issue after migrating to svelte 5. @erskingardner can you confirm which version of svelte are you using? If svelte 5, then this is probably related svelte 5 and a migration will be appreciated!