This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
feat(swipe): support scroll and swipe detection for an element on the same axis #11464
Open
Description
Bug:
When using md-swipe on an element that can scroll the scrolling is impossible in a mobile device (touch)
CodePen and steps to reproduce the issue:
https://codepen.io/anon/pen/XxWjEx which demonstrates the issue:
Impossible to scroll the swipeleft element when you are on a mobile device mode.
Detailed Reproduction Steps:
- to scroll the swipeleft element when you are on a mobile device mode => impossible
What is the expected behavior?
The scrolling is still available and the swipe can also be detected.
What is the current behavior?
When you add md-swipe on an element this element will be impossible to scroll in a mobile device
What is the use-case or motivation for changing an existing behavior?
I need to scroll an element and also detect the swipe on a mobile device
Which versions of AngularJS, Material, OS, and browsers are affected?
- AngularJS: 1.6.9
- AngularJS Material: 1.1.10
- OS: windows 10
- Browsers: chrome
Ps: everything work fine on a desktop mode. Is there any work around for this problem ?