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

Selection lost on alt tab #12

Closed
StefanStrategis opened this issue May 22, 2019 · 3 comments
Closed

Selection lost on alt tab #12

StefanStrategis opened this issue May 22, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@StefanStrategis
Copy link
Contributor

When selecting an input field and then alt tabbing out of the browser (chrome) causes the current inputfield selection to be lost.

This is different from a browser's and unity's default behavior where it keeps its selection after an alt tab.

This can cause issues with for instance password managers that auto fill in fields or if the user wants to copy something into his current selection from another window.

It would be nice that the current selection would be kept on alt tabbing.

@kou-yeung kou-yeung added the enhancement New feature or request label May 23, 2019
@kou-yeung
Copy link
Owner

when browser tab change.the input field will call onblur and then window.onblur will call.
i will try to use window.onblur and window.onfocus to handle this issues.

kou-yeung added a commit that referenced this issue May 23, 2019
kou-yeung added a commit that referenced this issue May 23, 2019
@kou-yeung
Copy link
Owner

i have release a new version to fix this issue.
thank you for report~

kou-yeung added a commit that referenced this issue May 23, 2019
@kou-yeung
Copy link
Owner

fix a bug.when switch tab fast (eg. hold Ctrl + tab)

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

No branches or pull requests

2 participants