Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc8aa094c871910db21ed4070c9b24d536520455
https://github.com/WebKit/WebKit/commit/fc8aa094c871910db21ed4070c9b24d536520455
Author: Razvan Caliman <[email protected]>
Date: 2026-02-03 (Tue, 03 Feb 2026)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/FilterBar.css
Log Message:
-----------
Web Inspector: Search bar settings icon disappears when search field is active
https://bugs.webkit.org/show_bug.cgi?id=305513
rdar://168213559
Reviewed by BJ Burg and Devin Rousso.
When the search or filter bar input field has focus, the adjacent buttons are
hidden
to make more space for the query. Maximizing this space was a concern when
search
options were introduced: https://bugs.webkit.org/show_bug.cgi?id=192527#c7
However, the search input field is automatically focused when switching to the
Search tab.
The default view for a user is that there are no options to configure the
search.
Filter input fields require explicit user action to get focus, so options are
initially visible.
We can afford the space to always show the search options regardless of the
input focus state
and avoid user confusion. The navigation sidebar has a minimum width defined by
`WI.Sidebar.AbsoluteMinimumWidth` which ensures sufficient typing space for the
query.
* Source/WebInspectorUI/UserInterface/Views/FilterBar.css:
(.filter-bar > input[type="search"]:focus ~ *):
(:is(.filter-bar, .search-bar) > input[type="search"]:focus ~ *): Deleted.
Canonical link: https://commits.webkit.org/306719@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications