Open fwextensions opened 1 year ago
Hi, took a look here. From what I can tell, the issue may stem from the way the Ringdown Form is structured:
{(Step 0) render
{(Step 1) render
{(Step 0) render
When the SelectHospital button is selected, the focus jumps to the buttons and seems to remain there for the newly rendered components.
A solution may be to restructure the Step 0s together, then the Step 1s together:
{(Step 0) render
{(Step 1) render
Therefore, when the Select Hospital Button is clicked, the next tab will naturally be the Hospital Selections without having to mess with tabIndex. Unsure if there are any unintended consequences with this, but everything seems to work fine on my side.
result: the Send Ringdown button is focused.
expected: the first radio button in the hospital list should be selected.