When closing an autocomplete with enter or escape, the displayvalue was shown while input being focused. The value would not be editable and behavior was weird. Remove the autofocus for the autocomplete on close. In the future, hopefully the bug can be fixed in a better way.
Checklist before requesting a review
[x] I have performed a self-review and test of my code
[x] I have added label to the PR (major, minor or patch)
[ ] If new component: Is story for component created in stories-folder?
[ ] If new component: Is tsx-file import added to packages/react/index.tsx?
[ ] If new component: Is css-file added to packages/css/index.css?
Describe your changes
When closing an autocomplete with enter or escape, the displayvalue was shown while input being focused. The value would not be editable and behavior was weird. Remove the autofocus for the autocomplete on close. In the future, hopefully the bug can be fixed in a better way.
Checklist before requesting a review
major
,minor
orpatch
)stories
-folder?packages/react/index.tsx
?packages/css/index.css
?