Combobox: Provide way to pass element ref for anchor #3415
adarshpastakia
started this conversation in
Ideas
Replies: 1 comment
-
Related discussion: #3347 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using the multiple option we wrap the combox input in a flex div which displays the selected values as chips causing the input to shift. However since there is no way of anchoring the combobox to the wrapping div the floating dropdown shifts along with the input which isn't very desirable, for now as work around we are using floating-ui to override the default behaviour.
It would desirable to have the ability to pass an element ref via the anchor object to override the default floating anchor.
Also we receive many user complaints of having to either close the dropdown by pressing escape and then press enter to submit the form, or click the submit button after selecting a value. An option to closeOnSelect would be helpful, thereby the user can hit enter twice to select and submit.
Beta Was this translation helpful? Give feedback.
All reactions