Replies: 1 comment 1 reply
-
Hi @clmz, Do you figure out the solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I know there's a possibility to fit the menu to its longest option via
width: 'max-content, minWidth: '100%
I cannot find a way to apply this behaviour to the control component, so it can act e.g. like a button and fit automaticcally the width to the value / selected olption.
The problem is the absolute position of the singleValue - changing this has an impact to the cursor position while searching as well as the width of the field.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions