Open Bug 1898867 Opened 5 months ago Updated 4 months ago

Pull to refresh triggers element below start point of gesture as if clicked

Categories

(Fenix :: Browser Engine, defect, P3)

Firefox 126
All
Android
defect

Tracking

(Not tracked)

People

(Reporter: mikaka27, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0

Steps to reproduce:

  1. Open https://demo.home-assistant.io/#/lovelace/home
  2. Stay on top of website
  3. Try to scroll up, but start the gesture from a clickable element

Actual results:

  1. Pull to refresh is triggered (that's ok)
  2. Clickable element was triggered, as if it was clicked (see video)

Expected results:

  1. Pull to refresh should be triggered
  2. Clickable element should not be triggered, because our intention is to scroll, not click
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(cpeterson)
Blocks: 1882722
Component: General → Browser Engine
Flags: needinfo?(cpeterson)

It looks;

  1. the clickable element is responded to a touchcancel event
  2. Gecko receives a touchcancel event
  3. IIRC, SwipeRefreshLayout (which is a component used for pull-to-refresh) sends a touchcancel (ACTION_CANCEL) on starting pull-to-refresh

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)
Severity: -- → S3
Flags: needinfo?(jboek)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: