fix: only show focus outline when opening breadcrumbs overlay with keyboard#11876
fix: only show focus outline when opening breadcrumbs overlay with keyboard#11876web-padawan wants to merge 1 commit into
Conversation
5aa825d to
722f314
Compare
|
|
This is not a good fix, and might even be worse. Ideally, the first item should not be focused when the overlay is opened with a pointer. The overlay itself should be focused. After this change, if you open the overlay with a pointer, and press arrow down, you’d expect the first item to get focused. But the second item receives the focus instead. The behavior of our components is inconsistent, when opening the overlay with a pointer:
|
Thanks, I misunderstood the TODO comment. Will close this PR and implement a corresponding fix. |



Description
Updated to pass
focusVisibleso that the focus outline is only shown when opening from keyboard.This aligns the behavior with other existing components and resolves a TODO from #11868.