FeathersMenuItem does not properly show keyboard focus
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
bevy_feathers shows keyboard focus via a feathers.focus.ring outline, like so:
`FeathersMenuItem` fails to do so, either not showing the focus at all (in the `feathers_gallery` example, click on "Menu" and then press the down key):
or showing it by changing the background color (select the menu with tab, then press the down key) (in the screenshot, the second item is also highlighted as due to mouse hover):
Edit: Eager menus currently don't work due to a seperate bug (#24935), but the issue is visible on lazy menus.
Contributor guide
Research direction
Start with the FeathersMenuItem implementation and reproduce the issue in the feathers_gallery example using a lazy menu. Compare its keyboard-focus behavior with the feathers.focus.ring outline shown elsewhere in bevy_feathers; done means keyboard navigation displays that focus ring without incorrectly changing the background color.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100