You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm typing my origin or destination in the text fields, and I'm provided a list of suggestions, I'd find it intuitive to hit the Tab button when the correct suggestion is focused, and this action would confirm that suggestion as the origin / destination and take my focus to the next UI element. However, hitting the Tab when in the suggestion list only leaves the text field empty and removes the focus. This is what happens in HSL Reittiopas when typing and then trying to select and proceed with Tab:
Everything works just as expected when I use Enter instead of Tab, and I think it's fine - Tab completion & focus change just seems to be standard behaviour on many common sites so it feels a bit weird that Reittiopas & Digitransit are missing this UI behaviour. Would it be possible to allow using Tab here?
The text was updated successfully, but these errors were encountered:
Some more info: it seems that the current behaviour depends on the react-autosuggest component. There has been a lot of discussion and still no consensus about the expected Tab behaviour, see this PR.
Hope this can be still considered here from the UX perspective, however I find it understandable if adding the Tab behaviour I suggested would bring too much custom code on top of the original component.
When I'm typing my origin or destination in the text fields, and I'm provided a list of suggestions, I'd find it intuitive to hit the Tab button when the correct suggestion is focused, and this action would confirm that suggestion as the origin / destination and take my focus to the next UI element. However, hitting the Tab when in the suggestion list only leaves the text field empty and removes the focus. This is what happens in HSL Reittiopas when typing and then trying to select and proceed with Tab:
I've also tested with this https://jyvaskyla.digitransit.fi/, same issue there.
Everything works just as expected when I use Enter instead of Tab, and I think it's fine - Tab completion & focus change just seems to be standard behaviour on many common sites so it feels a bit weird that Reittiopas & Digitransit are missing this UI behaviour. Would it be possible to allow using Tab here?
The text was updated successfully, but these errors were encountered: