-
Notifications
You must be signed in to change notification settings - Fork 190
ion-scroll inside tab doesn't work #227
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
Comments
@ihadeed can you help me on this? |
Use super-tabs 4.1.4 for now, 4.1.5 isn't working properly. |
Actually, the first version I tested this on was 4.1.0. The same problem. I upgraded to 4.1.5 in the hope this was fixed, with no lucky. The problem with 4.1.5 is as missing scss in the build. |
Ohh.. The missing SCSS, thats why the tabs seem dumb,but they dont even navigate, anyways downgrade to 4.1.4 and it'll all be working as it should, I can confirm. |
Scroll elements inside super-tab (as described above) are not working properly on 4.1.4. Just tested. It's not just with this 'list of tags' I created. I also implemented ng2-pdf-viewer and the scroll feature doesn't work when it's inside a super-tab. @ihadeed I appreciate a lot your work on this, but unfortunately if I can't use a scroll element inside a tab (that's not a ion-slider, ion-sliders works well), i can't use this plugin. |
@allanpoppe :
And then, in your supertabs html add the attribute
*dragThreshold could be less, like 100 (pixels), but for me 120 works well for the ion-scroll to move without moving the tab. After that, your ion-scroll should work for short swipes (user will know that element could be dragged) and if you swipe longer the tab will move as usual. I'll make a branch to enable this change as a config attribute. |
Pull Request #243 |
thanks, @eduardoRoth this work for me |
Don't mention it @hendra47. Checking further into the components, I found that So, I assume |
With @eduardoRoth 's PR merged, I'm guessing this will be fixed in the next release, tonight. |
Hi.

I have a ion-scroll inside a tab page, as follows. This will create a list of tags, wich should be horizontal scrollable.
Tab page:
The drag event doesn't work. I can't scroll it.
tabs.html:
If this page is opened outside super-tabs, it work's fine. Even if I open inside a angular's tabs, it works fine.
Dependencies:
The text was updated successfully, but these errors were encountered: