designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

First chip in MultiSuggestionChips receives focus on render

Open hansenalexander opened this issue 9 months ago • 2 comments

Version number

1.0.1

Description of the bug

The first chip in MultiSuggestionChips receives focus on render. It shouldn't have focus unless tabbed to, right?

Steps To Reproduce

Check out this little demo and notice that the chip has focus on render.

Additional Information

No response

hansenalexander avatar Mar 11 '25 18:03 hansenalexander

Thanks for reporting this! We'll have someone look into it :)

mimarz avatar Mar 17 '25 11:03 mimarz

as #3345 , this happens due to logic in u-tags (if changeText is true set focus to first chip) We will investigate further 👍

oddvernes avatar Mar 31 '25 12:03 oddvernes

Whats the status on this @oddvernes ?

mimarz avatar Jul 07 '25 06:07 mimarz

I believe this was resolved by updating to u-combobox. Reopen the issue if it still persists

oddvernes avatar Aug 19 '25 13:08 oddvernes