Closed mrichards42 closed 2 years ago
On desktop if I click new, then type a word and hit enter, it makes a new game
I ran into focus issues, but apparently I only fixed it for the hints button: https://github.com/mrichards42/sedecordle-bot/blob/9d06ac24c834bfbff0edfeb93f741de33e0de7dd/src/components/GameContainer.tsx#L22-L25
Probably should just handle this in TextButton itself.
@devinhammond plz fix :)
Pull request submitted, fixing the "New" button in-line. A global solution would require more thoughtful exploration of button behavior, and most likely YAGNI. Maybe some buttons want to stay focused?
I ran into focus issues, but apparently I only fixed it for the hints button: https://github.com/mrichards42/sedecordle-bot/blob/9d06ac24c834bfbff0edfeb93f741de33e0de7dd/src/components/GameContainer.tsx#L22-L25
Probably should just handle this in TextButton itself.
@devinhammond plz fix :)