User is unable to scroll using the scroll bar inside the Hamburger menu on Touch devices
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | disabled |
firefox89 | --- | fixed |
People
(Reporter: rdoghi, Assigned: edgar)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
[Affected versions]
Nightly 88
[Affected platforms]
Touch devices
[Steps to reproduce]
- Launch the Firefox browser and open the Hamburger menu.
- Try to move the scroll bar inside the Hamburger menu.
[Expected result]
The User should be able to scroll inside the Hamburger menu using the scroll bar on touch devices.
[Actual result]
The scroll bar remains fixed and the user is unable to scroll inside the hamburger menu using it.
Push Log from the first Bad build
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=fddc94978eb7f42cca5d199b94164d133facc3e7&tochange=31462a8e07406103e8d97b19faf9af3bd63530b6
It seems that Bug 1682527 might cause this issue.
Reporter | ||
Comment 1•4 years ago
|
||
Edgar do you mind taking a look at this issue ?
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Okay, after some investigation, dragging scrollbar doesn't work because nsSliderFrame::HandleEvent isn't run.
In Windows, the touch action on chrome popup would generate compatibility mouse events instead, see https://searchfox.org/mozilla-central/rev/fa48ebee58d59fa846919c3e2c3122b08db57c9c/widget/windows/nsWindow.cpp#8129-8135. And when implicitly pointer capture is enabled, we run the HandleEvent of the captured element's primary frame, i.e. thumb's frame, instead of the scrollbar's frame.
I wrote a test to simulate the issue, touch event doesn't have the same issue because we take the captureContent in PresShell into account in https://searchfox.org/mozilla-central/rev/fa48ebee58d59fa846919c3e2c3122b08db57c9c/layout/base/PresShell.cpp#8712-8719, the capture content is set in https://searchfox.org/mozilla-central/rev/fa48ebee58d59fa846919c3e2c3122b08db57c9c/layout/xul/nsSliderFrame.cpp#1277-1286.
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Description
•