Repository navigation
fix(app): drop the ring around a clicked Settings page and round the split button's ring - #65783
Merged
Merged
Conversation
…split button's ring
Contributor
There was a problem hiding this comment.
This looks good to me. With the base's settings.css, the new e2e test fails (outline-style was solid), and it passes with this change. My before and after screenshots show the clipped ring down the sides of the Preferences page is gone. The MCP-panel ring test and the extension row alignment test still pass, and the MCP panel keeps its ring because the more specific .settings-subtabs rule overrides the new one. I didn't run the split button in a browser. From the CSS: removing overflow: hidden clips nothing (both halves fit inside the 28px group), and the per-half logical radii keep the hover and pressed backgrounds rounded as before.
Public API: unchanged (only CSS and an e2e test).
No concerns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Two focus rings that looked broken.
Settings page ring
A click on a Settings page's text focuses the page itself (
SettingsPanelistabIndex={-1}). On the next key press Chromium matches:focus-visibleand the shared ring frombase.csswraps the whole page. The scroller clips its top and bottom, so only two blue lines show down the sides.This is the case #65690 fixed for the timeline and Home: a scroll area keeps focus for keyboard scrolling and draws no ring, and the controls inside show focus.
.settings-panel:focus-visiblenow setsoutline: none.Open in split button
The split button rounded its corners by clipping (
overflow: hiddenwith a 6px radius), so the square inset ring on each half lost its outer corners. Each half now rounds its own outer corners (logical properties, so RTL follows) and the group no longer clips, so the ring follows the shape. Hover and pressed backgrounds keep the same rounded corners.The split button is only used by Open in (
packages/gui-plugins/src/file/open-in-app.tsx); the change is inpackages/uionly.Tests
e2e/regression/settings.spec.ts: clicks the Preferences heading, presses ArrowDown, and expects the page focused with no outline. Fails before the fix (solid), passes after.No flag: a visual fix.