framework7io / framework7

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

Swipeable tab content is not loaded #4261

Open Me-Phew opened 3 months ago

Me-Phew commented 3 months ago

Versions

Reproduction

Describe the bug

Tab content is not loaded when it is changed by swiping.

To Reproduce

Steps to reproduce the behavior:

  1. Wait for the "home" tab to load.
  2. Swipe left (do not click the link in the tabbar) to change "about" tab.
  3. See error - the "about" tab content is not loaded.

Expected behavior

Tab content should be loaded - the same as when you change the tab by clicking the link.

Actual Behavior

Tab content is not loaded and the tab remains empty.

Screenshots

Expected behavior: swipeable-tabs bug-expected-behavior

Actual Behavior: swipeable-tabs bug

FeernandoOFF commented 3 months ago

I'm having this issue too but in svelte. Has anybody found a fix for this? I've seen that by setting the "content" field on the router it works properly but only with HTML content.