Listbox with Portal, popper and Transition #1690
Unanswered
netcelli-tux
asked this question in
Help
Replies: 1 comment
-
You can move the popper ref, style and attribute props from the options to the transition component. Here is a forked example. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to open the Options of a Listbox inside a Portal. This can be useful when using the Listbox component inside a dialog. When using Portal and Transition components with popper, the Options is not properly positioned by popper.
Example: https://codesandbox.io/s/vigorous-heyrovsky-4cqg8q?file=/src/Select.js
If the Transition component is removed, everything works as expected. Any suggestion how to use Listbox with Portal, Transition and poppe?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions