First, I would like to thank Vladimir for his great work on Framework7! I’m making a pledge today to support you in developing Framework7.
My question: I’ve built several apps still with V1, and never had any problem with the interface and scrolling and such. Now I’m converting one app to v4, and have some sort of scrolling issue.
I’ve a tabbed app layout, which works great when using regular pages. But now on one tab, I’ve added a page with two swipable tabs. This still works ok. When clicking on a link inside one of the two tabs a new page open. Now, when going back the swipable tabs can’t scroll vertically anymore. When switching to another “main tab” and going back, it works again.
I’ve double checked all classes and div structure, but that seems to be ok. This issue only appears when using swipable tabs and animated tabs. When using unanimated tabs, it all works as expected.
It happens on the ‘Events’ tab. Just go to ‘Events’ in the bottom bar, swipe to the tab ‘Vorige events’ and then click on some event. If you go back, the vertical scroll doesn’t work anymore on both tabs. If you go for example to main tab ‘Nieuws’ and go back to ‘Events’, it works again.
It is not really a show-stopper, as I can remove the swipeable or animated classes from the tab wrapper and they stil work correct as regular tabs. But I really like the swipeable tabs.
Yeah, this is annoying iOS issue i see more and more often. Can’t figure out the real reason behind it yet, but there is some trick, add the following code to your JS that should solve the issue:
Great workaround, that ‘fixed’ it indeed! Seems like something in iOS rendering. If I inspect the native app using Safari on my desktop, and just disable and enable some CSS rule, the scroll also works again.