mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
Clicking a style source or the empty space around it no longer moves focus to the new source input. Keyboard navigation that focuses the field container still moves focus into the input. The field now forwards focus only when the container itself receives focus. It prevents a mouse click on empty container space from triggering that focus path. Source buttons keep their own focus and menu behavior. - [x] Update focus behavior for source controls and the field container. - [x] Add a browser regression test; confirmed it failed before the fix and passes now. - [x] Run the focused browser tests (14 passed), Builder typecheck, formatting, and lint. - [x] Review documentation impact: existing Style panel guidance still applies; no doc change needed. - [x] Review fixture impact: no fixture inputs or outputs changed. - [ ] CI: Builder core jobs and visual regression remain red for the separate failures below. CI findings on the latest commit: - The changed Style sources test passes in the full Builder suite. Builder app tests, end to end shards, lint, and submodule checks pass. - Builder core jobs fail in static publish tests with varying timeouts and assertions under the full suite. The five static publish tests pass when run alone locally. See the [main workflow](https://github.com/webstudio-is/webstudio/actions/runs/44212698257). - Visual regression reports a 440 pixel difference in the Color Picker Oklch story. This PR does not change that story or its styles. The same difference appeared on retry. See the [visual workflow](https://github.com/webstudio-is/webstudio/actions/runs/44212698286). No migrations or data changes. Closes #6716