mattgallagher92 / safe-consequences

A SAFE stack app for playing consequences, the classic pen-and-paper game
1 stars 0 forks source link

Make the tab key focus appropriate elements #14

Open mattgallagher92 opened 3 years ago

mattgallagher92 commented 3 years ago

My guess as to what is happening is that the page remembers the position of the last element I focused on using tab; the next element to gain focus is the first one after that position. This happens even when a state transition causes a completely new view to be rendered, meaning that the first element to gain focus using tab can be partway down the new view. As a user, this is not what I expect.

GIF of issue

tab-issue