Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DragValue keyboard operation is broken #2341

Closed
mwcampbell opened this issue Nov 24, 2022 · 0 comments · Fixed by #2342
Closed

DragValue keyboard operation is broken #2341

mwcampbell opened this issue Nov 24, 2022 · 0 comments · Fixed by #2342

Comments

@mwcampbell
Copy link
Contributor

I observe these three related issues which I want to fix in one PR:

  1. DragValue can't be incremented and decremented with the keyboard. In theory the code does this when the button form of the widget has focus, but the button never has focus.
  2. When focus is moved to DragValue by tabbing, the widget is rendered in button mode for one frame, because egui doesn't know that the widget is interested in receiving focus until it is rendered as a button. This instability isn't good for screen readers.
  3. If the DragValue widget is focused, then the user moves to an associated slider with Shift+Tab, adjusts the slider, then returns to the DragValue, the previous edit string is still there, and it overrides the change the user made to the slider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant