You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: