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

Textbox KeyDown event fires before updating Text, only on backspace #447

Open
NinthDesertDude opened this issue Jan 1, 2024 · 0 comments

Comments

@NinthDesertDude
Copy link

The TextBox control has a KeyDown event and it calls subscribers before Text is updated, but it only has this behavior when pressing backspace (as far as I've seen). Right now I have to manually handle this case.

Expected behavior is that Text should be fully up-to-date before the KeyDown event is invoked. If I typed "cat" and backspace, I would expect "ca" as the value of Text when I'm in the KeyDown event. What I currently get is "cat" still.

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

No branches or pull requests

1 participant