Swipe gesture for tabs
See original GitHub issueBug, feature request, or proposal:
Feature request
What is the expected behavior?
Content area of tabs can be swiped to change the tab
What is the current behavior?
Can’t swipe
What is the use-case or motivation for changing an existing behavior?
Follow spec
Which versions of Angular, Material, OS, browsers are affected?
86123a3f0ca5bc3f3cf5f1b1f2263564c861af2a
Is there anything else we should know?
I tried implementing this, but couldn’t get the gestures config right. When testing I could bind to ‘pan’ but couldn’t bind to ‘swipe’. I added {provide: HAMMER_GESTURE_CONFIG, useClass: MdGestureConfig}
to providers but it still didn’t work.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:20
- Comments:14 (3 by maintainers)
Top Results From Across the Web
How to enable swipe gesture to move to next tab for tabs ...
Specifically I want to be able to click and drag my mouse towards the left to have it swipe left to the left...
Read more >Swipeable TabView in SwiftUI - Patricio "Pato" Lankenau
Now we have a fully native swipe gesture comptabile TabView! We can extend this as we add more tabs, by changing the numTabs...
Read more >Using swipe gestures to switch between chrome tabs? - Reddit
Anyone know how to re-program two- or three-finger left/right swipe gestures to switch between Chrome tabs?
Read more >Galaxy Tab: Switch Between Buttons & Swipe Gestures
Easy to follow tutorial on changing your Samsung Galaxy Tab controls from buttons to Swipe gestures, and vice versa. There are 2 unique...
Read more >Tab Swipe - Mendix Marketplace
Add tab swiping to your mobile apps. With this widget you can navigate between tabs with swipe gestures. There is also an option...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry but… after 3 years its really time to start doing this 😃
For making header swipe without changing selected tab:
.mat-tab-header-pagination { display: none !important; } .mat-tab-header { overflow: scroll !important; } .mat-tab-header::-webkit-scrollbar { display: none !important; } .mat-tab-label-container { overflow: initial !important; }