Add `touchAction` to the manager...
See original GitHub issueI’m using a swipe left/right on an element that needs to scroll vertically. It seems that in order for this to work on iOS, I need to add the touchAction
property to the manager. I’m a little unclear on how to do this. The README mentions two methods to configure recognizers, but doesn’t go into detail on either.
How would one add the touchAction
property per the instructions at http://hammerjs.github.io/touch-action/
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
Touch Actions - Appium
MultiTouch objects are collections of TouchActions. MultiTouch gestures only have two methods, add , and perform . add is used to add another...
Read more >Touch Action - Hammer.js
Add multi-touch gestures to your webpage. ... The Touch-action property ... You can overwrite this by giving the option touchAction to the Manager....
Read more >Touch Actions in Appium - TechTutorialz
An Overview of the TouchAction / MultiAction API. What is Touch Action? ... add is used to add another TouchAction to this MultiTouch....
Read more >How to Perform Multi-touch Actions in Mobile App | Katalon Docs
Handling Multi-touch Action in automation testing; Add Wait For Element Present item. Initialize Katalon Mobile Driver to Appium Driver ...
Read more >Chapter-11: Automating gestures - Kobiton
Appium supports these gestures using the TouchActions class. ... It has a add(TouchActions touchActions) method so in which we need to pass a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had same issue on android firefox. Using swipe left, it can’t be vertical scrollable. I soleved this issue by bellow.
VueHammer.config.swipe = { direction: 6, };
https://github.com/hammerjs/hammer.js/issues/1173 https://hammerjs.github.io/api/#constants
I found another workaround: You can set the touch-action via CSS and
!important
- that will override the touch-action set by Hammer as style:touch-action: pan-y !important;