Closed abdallahz3 closed 1 year ago
well, getToggleButtonProps
looks commented out, and getMenuProps
seems that it's only called only when that popover is displayed.
I have no idea what to suggest here, since the usage is very different from the usages we aim to support. We follow ARIA for the select pattern, and having the whole widget in a popover is not something we aim to support out of the box.
Basically, all the getter props need to be called all the time, except getItemProps, which can get called only when the items are visible. If you can work around and achieve this constraint, great.
Let me know if I can help you further.
downshift
version: 7.0.1node
version: 19.1.0npm
(oryarn
) version: npmRelevant code or config
What you did: trying to use Radix ui Popover with downshift select
What happened: I get these errors in the console
downshift.esm.js:1844 downshift: The ref prop "ref" from getToggleButtonProps was not applied correctly on your element.
and
downshift.esm.js:1844 downshift: The ref prop "ref" from getMenuProps was not applied correctly on your element.