ionic-team / ionic-team/ionic-framework

feat: gestures should allow for listening on both x and y axes

Open
#21,704 1 comment 4 reactions 0 assignees View on GitHub
package: core type: feature request
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

# Bug Report

**Ionic version:**
**5.2.1**

**Current behavior:**
I have created a custom gesture to reproduice "swipe" vertical and horizontal.
However I have direction x or y but what about x and y ?
If I choose "x" I have to move on x-axis before y-axis to have a move on y-axis..

**Expected behavior:**
I would like a x and y move...

**Steps to reproduce:**
Create a custom gesture with a direction x.

const gesture = this.gesture.create({
el: card.nativeElement,
direction: "y",
gestureName: 'swipe',

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.