angular / angular/components

Add guide for adding gestures to components

Open
#19,464 3 comments 25 reactions 0 assignees View on GitHub
area: material.angular.io docs feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

With Angular v9, we removed direct gesture handling in Angular Material. We did this for a number of reasons, including:
* Drop dependency on mostly unmaintained HammerJS
* Give people flexibility to use other gesture solutions
* No requirement to add gesture code for users that don't actually want it
* Simplify project setup

However, we should still have a guide that explains how to _add_ gestures for users that want them. The guide should cover topics including:
* Swiping out a sidenav
* Swiping between tabs
* Swiping items away on a list / table
* Swiping calendar months

Related to #2209

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Angular Material documentation structure and the guides for sidenav, tabs, lists or tables, and calendar components. The guide is done when it explains how users can add gestures for swiping a sidenav, switching tabs, dismissing list or table items, and changing calendar months, while accounting for the reasons direct gesture handling was removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
documentation, frontend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.