ionic-team / ionic-team/ionic-framework

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

Ouverte
#21,704 1 commentaire 4 réactions 0 personnes assignées Voir sur GitHub
package: core type: feature request
Langage dominant
TypeScript
Étoiles
52.7k
Forks
13.3k
Merge moyen
1 j 15 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.