Animate tab-to-search result
Categories
(Firefox :: Address Bar, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox83 | --- | verified |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
We want tab-to-search results to have a slight animation. We should disable this animation when the user has specified prefers-reduced-motion.
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
From bug 1647927:
We should consider the case of when a user has two engine aliases registered, one of which begins with the other in its entirety. For example, they have Amazon registered as "a" and AliExpress registered as "ali". When the user types "a" we should show the Amazon tab-to-search result. But when they then type "l", we should replace the Amazon tab-to-search result with the AliExpress one. We want to be sure that we don't reanimate the tab-to-search result to avoid annoyance.
Comment 2•4 years ago
|
||
Here's a prototype of the animation - https://cloud.protopie.io/p/920a84c715/6?ui=false&mockup=false&touchHint=false&scaleToFit=false&cursorType=arrow
- It uses the photon motion curve: cubic-bezier(.07,.95,0,1)
- The prototype has the text fading in and moving 200px over 250 milliseconds.
- These exact values are not critical. Consider it a starting point. This is just what was used in the prototype.
We should not use this animation if you have reduce motion turned on. We should also not use this when the dropdown is narrow enough to wrap to 2 lines.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Closing this as verified fixed as the verification was included in the pre-release test run.
Description
•