swipe-to-nav icon may reappear shortly after the gesture is cancelled
Categories
(Core :: Panning and Zooming, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox109 | --- | unaffected |
firefox110 | --- | unaffected |
firefox111 | --- | verified |
People
(Reporter: dlrobertson, Assigned: hiro)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Summary
After "cancelling" a swipe to navigate gesture, the icon may reappear shortly along with the icon on the opposite side.
Steps to Reproduce
Steps
- Optional: This is much easier to see in dark mode. For example, I use the dark default github theme
- Navigate to https://bugzilla.mozilla.org, to get some history
- Use the same tab to navigate to https://github.com
- Use the same tab to navigate to a third page like https://planet.mozilla.org
- Navigate back to the page loaded in step 2
- Start a back swipe to navigate gesture, but do not "complete" the gesture. Instead cancel the gesture with a gesture to the opposite side.
Expected Results
The cancel animation runs and when the animation finishes it does not reappear.
Actual Results
The cancel animation for the backwards swipe to navigate gesture runs, and the momentum pan causes the forwards animation to run. When the forwards animation completes, the backwards icon reappears for a second.
Note: this is much easier to see if the "cancel" gesture is done with much gusto.
Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1799563
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Thank you Dan for filing/finding this bug! This happens because we show the icon even if the given aVal == 0
. The reason why we didn't hit this issue before bug 1799563 is that probably before bug 1799563 the icon was rendered as opacity: 0
initially so that we hadn't noticed this issue at all.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Reporter | ||
Comment 5•2 years ago
|
||
Thanks for the quick patch!
Comment 8•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Reproducible on a 2023-01-20 Nightly build on macOS 12.
Verified as fixed on Firefox 111.0b5(build ID: 20230223185944) and Nightly 112.0a1(build ID: 20230223172038) on macOS 12, Windows 10, Ubuntu 22.
Description
•