当前位置:网站首页>Solve the problem that the page cannot scroll when ionic4 uses the hammerjs gesture press event
Solve the problem that the page cannot scroll when ionic4 uses the hammerjs gesture press event
2022-06-28 02:18:00 【qq_ thirty-nine million two hundred and thirty-nine thousand on】
press Event can realize the function of long pressing the screen , But use press Events may cause the page to not scroll , At this time, you only need to add a touch screen attribute , Set the touch direction to y The axis direction can be solved , for example :
<ion-card *ngFor="let item of orderList" (press)=" delete(item)" [style.touch-action]="'pan-y'">
</ion-card>
边栏推荐
- Evaluation - grey correlation analysis
- Deep parsing of kubernetes controller runtime
- Jenkins - Pipeline 语法
- Intranet penetration with FRP
- Appium自动化测试基础— 补充:App的包名(appPackage)和启动名(appActivity)
- Where can I open an account for foreign exchange futures? Which platform is safer for cash in and out?
- 声网 VQA:将实时互动中未知的视频画质用户主观体验变可知
- Machine learning notes - time series as features
- 面试官问:能否模拟实现JS的new操作符
- The practice of dual process guard and keeping alive in IM instant messaging development
猜你喜欢

Review of drug discovery-02-prediction of molecular properties
![[Yongyi XY chair] trial experience](/img/9e/9814bf21a79214d21d2a257c725147.jpg)
[Yongyi XY chair] trial experience

Evaluation - rank sum ratio comprehensive evaluation
![[embedded foundation] memory (cache, ram, ROM, flash)](/img/bd/d952ebd4033a993dd16cd792bb3e1e.png)
[embedded foundation] memory (cache, ram, ROM, flash)

药物发现综述-03-分子设计与优化

The interviewer asked: can you simulate the new operator of JS

Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known

Jenkins - Groovy Postbuild 插件丰富 Build History 信息

Numpy----np. reshape()

Appium automation test foundation ADB common commands (I)
随机推荐
药物发现综述-03-分子设计与优化
【永艺XY椅】试用体验
[Yocto RM]3 - Yocto Project Releases and the Stable Release Process
Capacitor
Evaluation - rank sum ratio comprehensive evaluation
Scala 基础 (三):运算符和流程控制
Scoped attribute and lang attribute in style
【sylixos】i2c设备驱动创建和使用
Jenkins - Copy Artifact 插件 Build 之间数据共享传递
The practice of dual process guard and keeping alive in IM instant messaging development
[Yocto RM]9 - QA Error and Warning Messages
Shardingsphere-proxy-5.0.0 establish MySQL read / write separation connection (6)
Prometeus 2.35.0 new features
Intensive reading of transformer thesis paragraph by paragraph
style中的scoped属性和lang属性
1382. balancing binary search tree - General method
Google Earth engine (GEE) -- an error caused by the imagecollection (error) traversing the image collection
[Yocto RM] 4 - Source Directory Structure
9. Openfeign service interface call
一张图弄懂 MIT,BSD,Apache几种开源协议之间的区别