To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
the window is actually already set to modal, so it doesn't help.
I have a textField with: _a textChangeListener that adds a modal window when a certain number of caracter is reached. _a valueChangeListener that empties this field value and set the focus back to it
Actually Chrome clears the tf value but doesn't give the focus on it if the window is attached, FF does... I don't want the focus on it unless the window is closed because if you type something in the tf, a new window (and possibly many more) will be added on top of the first.