ionic-team / ionic-team/ionic-framework

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

Aperta
#21,704 1 commento 4 reazioni 0 assegnatari Vedi su GitHub
package: core type: feature request
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

# 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.