Skip to content
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

mdList - Add swipe animation for items #4016

Closed
ScallyGames opened this issue Apr 10, 2017 · 10 comments
Closed

mdList - Add swipe animation for items #4016

ScallyGames opened this issue Apr 10, 2017 · 10 comments
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs: discussion Further discussion with the team is needed before proceeding

Comments

@ScallyGames
Copy link

Bug, feature request, or proposal:

feature request

What is the expected behavior?

Allow list-items to be swiped left/right to reveal additional actions on the item. Draging the item further should activate the outermost action.

What is the use-case or motivation for changing an existing behavior?

Many big applications already use this (gmail, iOS Mail, ...) and it is a rather common/already trained user behaviour.

Implemented in:

Planned in Angular Material 1 (angular/material#1890)

@jelbourn jelbourn added feature This issue represents a new feature or feature request rather than a bug or bug fix discussion labels Apr 11, 2017
@ScallyGames
Copy link
Author

This is also described in https://material.io/guidelines/components/lists-controls.html#lists-controls-types-of-list-controls as leave-behinds.

@zmarwa
Copy link

zmarwa commented Jul 6, 2017

+1

1 similar comment
@marco-silva0000
Copy link

+1

@mackelito
Copy link

Using hammerJS and angular 4.2 animations this should be fairly easy. But should it really be part of core?

Supporting touch is optional and on desktop it does nothing but bloat the framework :/

@LarsVonQualen
Copy link

That's true. Where i'm currently consulting, we did a custom implementation using Hammerjs. That was fairly easy.

It would be awesome to have something like this in a touch module, in order to reduce bloat 😊

@GlauberF
Copy link

@mackelito , @LarsVonQualen would have an example in codepen, how to do using the hammerjs

@jososaga
Copy link

@LarsVonQualen could you provide an example code?

@ghost
Copy link

ghost commented Aug 21, 2019

@jelbourn
Copy link
Member

As of Angular v9, we've decided to step back from the aspiration of adding gestures directly to the components, instead having the component library be agnostic to geature recognition. That said, we do still want to add documentation that explains how to go about adding gestures to the components.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 1, 2019
@mmalerba mmalerba added the needs: discussion Further discussion with the team is needed before proceeding label Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs: discussion Further discussion with the team is needed before proceeding
Projects
None yet
Development

No branches or pull requests

9 participants