Double-clicking letters, which can happen when trying to enter the same letter twice in succession, can highlight text below the game, which could have unintended consequences.
Setting user-select to none solves this issue. I see this project uses a CSS library, but I could not find any related to user-select. This PR was just made as a proof-of-concept that this fix can be made. Feel free to close this PR to use the custom CSS library.
Double-clicking letters, which can happen when trying to enter the same letter twice in succession, can highlight text below the game, which could have unintended consequences.
Setting
user-select
tonone
solves this issue. I see this project uses a CSS library, but I could not find any related touser-select
. This PR was just made as a proof-of-concept that this fix can be made. Feel free to close this PR to use the custom CSS library.