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

Fixed Keyboard not showing second time. #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marco-calautti
Copy link

@marco-calautti marco-calautti commented May 13, 2018

I had this issue in a project I am working with. The issue is essentially the fact that the bind occurs only in two cases: Focus (which is the first time the textblock is clicked), and touchdown. However, if the textbox does not loose focus, and one clicks on the textbox with the mouse, instead of using the touch screen, the keyboard will not popup.

This pull request fixes this issue by also binding the PreviewMouseDown event.
According to MSDN, we should not override MouseDown, as textboxes have their own behavior for that.

This fix referes Issue 20

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 this pull request may close these issues.

1 participant