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

Add focus judgment #4

Closed
tenSunFree opened this issue Apr 16, 2022 · 3 comments
Closed

Add focus judgment #4

tenSunFree opened this issue Apr 16, 2022 · 3 comments
Assignees
Labels
enhancement✨ New feature or request

Comments

@tenSunFree
Copy link

Maybe consider first judging whether there is focus, if there is focus, cancel the focus and save the data, and inform the user.
If there is no focus, go back directly to the previous page.
The user experience may be better.
https://user-images.githubusercontent.com/23090085/163681765-33802b2b-9133-4aa3-a1c5-64f138110cf5.mp4

part of the code, maybe you can try to adjust it like this.
2022-04-16_234417

@nikhilbadyal
Copy link
Owner

Great, will look into this.

@nikhilbadyal
Copy link
Owner

I looked into this. I liked the idea of checking the focus first. But return false is probably not a good idea. It increases the click count. No. of the times the user needs to press the back button to reach home will be 2 and I don't want users to exercise their fingers. I surely can do the save pop-up thing.

@nikhilbadyal nikhilbadyal added the enhancement✨ New feature or request label May 15, 2022
@nikhilbadyal nikhilbadyal self-assigned this May 15, 2022
@nikhilbadyal
Copy link
Owner

Done

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