I have an input field, I focus on it, then I switch to a new window, and, then I come back - my input field is already in focus. How to detect this behaviour?
Asked
Active
Viewed 21 times
0
-
Maybe this can help: https://stackoverflow.com/questions/1060008/is-there-a-way-to-detect-if-a-browser-window-is-not-currently-active – AD-1 Jun 29 '21 at 17:20