smogon / pokemon-showdown-client

The client for Pokémon Showdown
http://pokemonshowdown.com
GNU Affero General Public License v3.0
552 stars 770 forks source link

Large mobile device on-screen keyboard opens when hovering or performing a switch or move #1925

Open MarTnquesada opened 2 years ago

MarTnquesada commented 2 years ago

Mobile on-screen keyboard opens when hovering or performing a switch or move. This stops happening when the chat is not focused/selected, either because the device is vertical (like a phone) or turning the tablet vertically so that chat is hidden, or by clicking on a section of the background that appears at the top of the screen. But when using Showdown with the battle box and chat open at the same time, hovering over a pokemon or clicking on the main box in any way focuses the chat textbox (the cursor appears in the textbox) and therefore the on-screen keyboard opens whenever you hover or perform a switch or move.

Thought that it could be because of using an IME but getting rid of all languages save for the basic US English Qwerty keyboard does not seem to make a difference.

Replicated on Samsung Galaxy Tab S7 FE with Android 11 (uses OneUI 3.1 since its a Samsung tablet) for latest releases of Chrome, Opera and Firefox.

Zarel commented 2 years ago

What does "hovering" mean in a mobile context? Long-pressing?

MarTnquesada commented 2 years ago

Yes, in this context I was referring to long-pressing, i.e. when you want to hover to check one of your mons.