Both the widgets section and the recently backed out page is shown at the same moment when dragging on touchpad
Categories
(Firefox :: New Tab Page, defect, P3)
Tracking
()
People
(Reporter: csasca, Unassigned)
References
Details
(Whiteboard: [hnt][hnt-wattle])
Found in
- Firefox 159.0 (NewTab addon v161.0.20261102.193311)
Affected versions
- Firefox 159.0
- Firefox 161.0a1 (2026-11-04)
Tested platforms
- Affected platforms: macOS 27, Windows 11, Ubuntu 26.04
Preconditions
- Have widgets enabled
- Have the Widgets section enabled per D336941
- Have a touchpad available
Steps to reproduce
- Press on three dots on the Daily crossword widget and select Learn More
- Go back to home either by swiping left on touchpad or left arrow
- Hover the cursor over the stories and swipe with two fingers to right
Expected result
- Either the widgets section is shown OR the previous backed out page is shown
Actual result
- Both the widgets section and the recently backed out page is shown at the same moment (see attachment)
Regression range
- New feature
Additional notes
- The issue can be seen in the following attachment
Updated•16 days ago
|
Comment 1•16 days ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 2•16 days ago
|
||
| frontend-triage | ||
Spaces.jsx switches space on a horizontal wheel gesture but never consumes the event, and because React 19 registers its root wheel listener as passive (react-dom-client.production.js), APZ treats the region as confirmed and starts the browser history swipe on the same pan gesture. I triaged from the steps and the code and did not view the Drive recording.
Fix: Replace the React onWheel with a native { passive: false } wheel listener on containerRef added at mount, and call preventDefault() on the first horizontal-dominant event of a gesture whenever a neighboring space exists in that direction (RTL-aware), so TriggersSwipe() stays false while history swipe still works at the first and last space. Cover it by asserting defaultPrevented in Spaces.test.jsx and with a browser test modeled on browser_test_swipe_gesture.js that pans over the spaces and checks the URL is unchanged.
Suggested severity: S3. Touchpad users with forward history on New Tab get a space switch and a history navigation from one gesture, which is confusing but recoverable, and the space tabs and arrows switch spaces without triggering it.
If you'd like to provide feedback on this comment, please use the 👍 or 👎 reaction.
If you want to categorize your feedback you can add one of the following tags: ai-triage-{wrong-file, wrong-cause, hallucination, out-of-scope, not-a-bug, wrong-fix, shallow-fix, wrong-severity}.
Needinfo hackbot@mozilla.tld to have a patch generated for this bug, include any questions or directions as needed in your comment.
Updated•6 hours ago
|
Description
•