ionic-team / ionic-team/ionic-framework

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

Đang mở
#21,704 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
package: core type: feature request
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.