in v2, how to set the position of the ComboboxOptions relative to the ComboboxButton instead of ComboboxInput? #3347
Unanswered
IDrissAitHafid
asked this question in
Help
Replies: 1 comment 2 replies
-
I'm facing the same issue, I haven't found a workaround for this |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In version 1, I created a multi-select combobox something like this one and it worked correctly.
However, now using the V2 with setting the anchor prop, the position of the ComboboxOptions gets translated if an option is selected, because from what I understood it is positioned relatively to the input and the input gets pushed by the selected options. and since I have the ComboboxButton fixed I'm wondering if it is possible to position the ComboboxOptions relatively to it.
It looks correct on if no option is selected:
Here's how it looks if one element is selected:
Any help would be appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions