Closed Bug 1358455 Opened 6 years ago Closed 6 years ago

The width of the searchbar panel is incorrect after resizing the browser window

Categories

(Firefox :: Search, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 55

People

(Reporter: florian, Assigned: florian)

Details

(Whiteboard: [fxsearch])

This is caused by the _computedMinWidth variable checked at http://searchfox.org/mozilla-central/rev/7aa21f3b531ddee90a353215bd86e97d6974e25b/browser/components/search/content/search.xml#1081

We need to do this width computation again when the textbox size has changed. I recently added some code at http://searchfox.org/mozilla-central/rev/7aa21f3b531ddee90a353215bd86e97d6974e25b/browser/components/search/content/search.xml#1546 that invalidates the one-off button cache when the textbox size changes. We likely need something similar here (would be ideal if we could avoid duplicating the code though).
Fixed in bug 1358382.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Assignee: nobody → florian
You need to log in before you can comment on or make changes to this bug.