Avoid updating the in-content search bar placeholders / text from multiple locations when in handoff mode
Categories
(Firefox :: Search, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
Currently the in-content search bar has multiple places where we manage the placeholders and strings when we're in search hand-off mode:
This frequently means that we're updating the strings multiple times and can lead to flickering.
For example, if the browser.urlbar.suggest.searches
preference is set to false, then when reloading the newtab page, you can see the placeholder flicker. This is partially because the Search.jsx implementation is incomplete.
I think the best places for these would be contentSearchHandoffUI
as that is the primary and central point for handling the handoff UI.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Comment 3•11 months ago
|
||
The placeholder text functionality being removed were originally added in various bug 1508388 and bug 1616700 as they're more generally handled by contentSearchHandoffUI.js with improvements like bug 1722395.
Comment 5•11 months ago
|
||
bugherder |
Description
•