ionic-team / ionic-team/ionic-framework

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

未关闭
#21,704 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: feature request
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。