Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Scrolling only works when long pressing on content and then scroll

  • 1 réponse
  • 2 ont ce problème
  • 1 vue
  • Dernière réponse par 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?

Solution choisie

I found the culprit:

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

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (1)

more options

Solution choisie

I found the culprit:

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