搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Scrolling only works when long pressing on content and then scroll

  • 1 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 Znert

more options

I am currently working on an Angular/Ionic web app, but have trouble with scrolling on Firefox Android.

My issue is, that I cannot scroll any content on the webpage.

So I would like to know how I could debug the app. I'm already using the WebIDE to access my phone and debug Event Listeners (going to Debugger -> side panel -> Events), but it seems that only a few events are listed because I cannot see any listener on any touch events or scroll events that could cause such behaviour.

Any suggestions on what I'm doing wrong here?

I am currently working on an Angular/Ionic web app, but have trouble with scrolling on Firefox Android. My issue is, that I cannot scroll any content on the webpage. So I would like to know how I could debug the app. I'm already using the WebIDE to access my phone and debug Event Listeners (going to Debugger -> side panel -> Events), but it seems that only a few events are listed because I cannot see any listener on any touch events or scroll events that could cause such behaviour. Any suggestions on what I'm doing wrong here?

被采纳的解决方案

I found the culprit:

From an older commit there was still some temporary code lying around which listened to touchmove and calling preventDefault.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

I found the culprit:

From an older commit there was still some temporary code lying around which listened to touchmove and calling preventDefault.