Swipable tabs
-
Hello people.
Last weekend I tried to implement swipable tabs navigation with q-route-tabs.
What I found is that if you change a tab, the window.scrolltop is always shared by every page.
That said, you cannot scroll a page, go to another page, scroll through it and return to the previous one and continue from where you left it.The closest thing I succeeded in doing is to save each tab position in a window.positions array variable and after route change to apply the stored scrolltop value for each tab.
Now what I want to do is to flip through tabs using swipe. And during this swipe I want both pages, previous and next to be shown. Same as the Twitter app, or Instagram.
Can this be accomplished in any way?