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

During keyboard input, only update a DragValue value when focus is lost. #2687

Closed
harrisonmg opened this issue Feb 7, 2023 · 0 comments · Fixed by #2688
Closed

During keyboard input, only update a DragValue value when focus is lost. #2687

harrisonmg opened this issue Feb 7, 2023 · 0 comments · Fixed by #2688
Labels
feature New feature or request

Comments

@harrisonmg
Copy link
Contributor

I'm filing this issue to mention in an upcoming PR.

Currently, when focusing and editing a DragValue via keyboard input, the value updates for every character you type (I think it actually updates every single frame).

As per a discussion on the egui Discord server, this behavior is not desirable. It should only update the value when enter is pressed and / or focus is lost on the widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant