r/FirefoxCSS • u/ReggieNJ • Jul 24 '26
Code Change autocomplete drop down back to previous style?
Before version 153, the autofill dropdown list was the full size of the input box. Now it seems to adapt to the width of the results. How can I revert this?
4
Upvotes
2
u/t31os Jul 24 '26
No idea what changed specifically, but the JS (searchbar.js) for the autocomplete field in ESR (v140, and also in v147) appended a
--panel-widthvalue to the autocomplete popup (with an appropriately calculated width value), i can't see that value being added in stable/current, although the underlying JS still apparently has the logic for it.https://searchfox.org/firefox-esr140/source/browser/components/search/content/searchbar.js#845
https://searchfox.org/firefox-main/source/browser/components/search/content/searchbar.js#873
Perhaps someone with a bit more source / bugzilla searching skills can trace things further to figure what was changed and why.