feature request
Allow list-items to be swiped left/right to reveal additional actions on the item. Draging the item further should activate the outermost action.
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 (https://github.com/angular/material/issues/1890)
This is also described in https://material.io/guidelines/components/lists-controls.html#lists-controls-types-of-list-controls as leave-behinds.
+1
+1
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 :/
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 馃槉
@mackelito , @LarsVonQualen would have an example in codepen, how to do using the hammerjs
@LarsVonQualen could you provide an example code?
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.
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._
Most helpful comment
This is also described in https://material.io/guidelines/components/lists-controls.html#lists-controls-types-of-list-controls as
leave-behinds.