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

Virtual keyboard focus out issue upon keypress. #2240

Open
arjunexalture opened this issue Jan 1, 2024 · 5 comments
Open

Virtual keyboard focus out issue upon keypress. #2240

arjunexalture opened this issue Jan 1, 2024 · 5 comments

Comments

@arjunexalture
Copy link

I am using mathlive virtual keyboard for touch devices. It works as expected in browser.
When I use it in our app, what happens is after a keypress from virtual keyboard, data updates and then text editor getting focused out. Upon next keypress, the virtual keyboard disappears. Is there anything to prevent from this focus out situation.

@edward1127
Copy link

I got the same issue

#2182

@arnog
Copy link
Owner

arnog commented Jan 1, 2024

@edward1127 is it the same issue? I thought your issue was triggered when typing quickly? That doesn't seem to be the case here. Have you been able to find a resolution or workaround for your issue?

@arjunexalture could you provide more details? Can you build a reproducible test case that could be debugged? Are you using React, React Native or Angular?

@edward1127
Copy link

@arnog Yep, that's correct, but I think it might be related since it also loses focus, and it only happens in nextjs but not react. I'm still checking which line of the code might be the culprit.
vercel/next.js#60076

@arjunexalture
Copy link
Author

@arnog I am using React and I am using sandbox mode inside iframe. In my case, it's not reproduceable in browser. It is happening in app version of my project only.

@arnog
Copy link
Owner

arnog commented Jan 7, 2024

@arjunexalture can you provide any additional information that could help narrow down this issue? Do you have some code you could share? Or a stack trace for when the blur event is handled?

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

3 participants