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

Touch down makes input loose focus #79

Closed
maxfahl opened this issue May 22, 2019 · 1 comment
Closed

Touch down makes input loose focus #79

maxfahl opened this issue May 22, 2019 · 1 comment
Assignees
Labels
🕑 Waiting for OP This issue requires more information as requested by the maintainer.

Comments

@maxfahl
Copy link

maxfahl commented May 22, 2019

Simple-keyboard version
2.21.0

Describe the bug
When using the preventMouseDownDefault property together with useTouchEvents, the input field looses focus when typing on the keyboard. I've attached listeners for focus and blur on my input to toggle visibility of the keyboard. Whenever the textfield looses focus the keyboard hides. It works as expected works correctly with mouse events.

@hodgef hodgef added the 🔍 Investigating Investigating what's causing the issue label May 22, 2019
@hodgef
Copy link
Owner

hodgef commented May 22, 2019

Hello @maxfahl,

I was not able to reproduce the issue on Chrome emulator nor on an Android tablet. Here's the sandbox I used to debug. Are you able to reproduce the issue in that sandbox?

I did notice the input losing focus when tapping between the keys (on Android). Could you confirm if this is the issue you're experiencing?

Also, if you could provide a bit more specifics it would help nail down the issue. eg.: The framework you're using (Angular, Vue, if any.), OS, etc.

I will close the issue for now and reopen as I get this info.

Thanks,
Francisco hodge

@hodgef hodgef closed this as completed May 22, 2019
@hodgef hodgef added 🕑 Waiting for OP This issue requires more information as requested by the maintainer. and removed 🔍 Investigating Investigating what's causing the issue labels May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕑 Waiting for OP This issue requires more information as requested by the maintainer.
Projects
None yet
Development

No branches or pull requests

2 participants