Focus jumps to top when selecting values in MultiSuggestion
Version number
1.0.1
Description of the bug
When rapidly selecting values from the dropdown in the MultiSuggestion component, the focus jumps back to the top of the list. I haven't been able to reproduce the error in the demos.
Steps To Reproduce
Check out: https://codesandbox.io/p/sandbox/broken-cdn-y3ms3n
Additional Information
No response
Initial finding: this is triggered in u-tags on this line because nextFocus is defined as input
After speaking to the developer of u-tags, this is intended behaviour in order to get screenreaders across all platforms to properly announce that an item was selected. They have tried to work around it in many different ways but this is the current best solution, but more research can be done if it turns out to be too problematic for users 👍
Were you going to have a look at this @eirikbacker ? :)
Hi, is this still happening for you on v1.1.0?
This was resolved when switching to u-combobox