Description
Hey
We recently upgraded to 2.0.3 from 2.0.0 and encountered an issue (found with our automation tests, and replicated manually).
- Type into the autocomplete, something that will provide a match. This can be seen in the image below
- Don't select an option
- Click a radio button within the same page whilst the menu is still open
This will result in the option being selected in the autocomplete (as expected), however, the radio button will receive a focus state and won't select the option. This is highlighted in the image below
We've narrowed this down to 2.0.2, and after looking at a diff between that and 2.0.1 we think it may be related to the recent changes with the onBlur
function. This seems kind of similar to #414 but not exactly. Appreciate users should be encouraged to select an option before continuing, however, our set of users are internal staff who work on the system all day, and using shortcuts to complete forms faster is common, meaning if staff have figured out this shortcut, that it will select the option if they just leave it selected, this will create a bad experience for them if we enable overlay, or force them to select an option before continuing.
On version 2.0.1, when trying the above steps the result will be that the option is selected and the radio button is also selected.
Thanks