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

Swipeable tab content is not loaded #4261

Open
Me-Phew opened this issue Apr 4, 2024 · 2 comments
Open

Swipeable tab content is not loaded #4261

Me-Phew opened this issue Apr 4, 2024 · 2 comments

Comments

@Me-Phew
Copy link

Me-Phew commented Apr 4, 2024

Versions

  • Framework7 version: 8.3.0
  • Vue.js version: 3.3.4

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
Copy link

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.

@EskelCz
Copy link

EskelCz commented Aug 18, 2024

I had a similar issue in Svelte, one of my tabs worked initially but then got stuck. I found that I had used the same id inside it as the tab itself. So the tab id selector had a chance to randomly fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants