angular / angular/components

Add support for mouse-down drag on mat-tab-group component

Open
#20,437 5 comments 0 reactions 0 assignees View on GitHub
area: material/tabs feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

Add support for mouse-down drag on mat-tab-group component
right now with a long list of tabs you have to click many times to scroll through.
would be great to just hold down the mouse and swipe in each direction.

see below:

![Drag](https://user-images.githubusercontent.com/5090936/91470844-12de3d80-e84a-11ea-9d34-f68130943483.gif)

Contributor guide

Open the contributing guide

Research direction

Start by locating the mat-tab-group implementation and its existing tab scrolling behavior. Reproduce the issue with a long list of tabs, then verify that holding the mouse button and moving in either direction scrolls through the tabs as shown in the attached example.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.