question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swipe gesture for tabs

See original GitHub issue

Bug, 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:closed
  • Created 7 years ago
  • Reactions:20
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

17reactions
SvenBudakcommented, Jun 4, 2019

Sorry but… after 3 years its really time to start doing this 😃

8reactions
menahemccommented, Jan 29, 2019

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; }

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found