Display menu on top or bottom depending on the screen offset #498
Unanswered
MrPhyaeSoneThwim
asked this question in
Help
Replies: 1 comment 1 reply
-
Hey! I would recommend you to use something like Popper (https://popper.js.org). Here is an example: https://github.com/tailwindlabs/headlessui/blob/91007b75efdec6500b1afb27d7946b1488eb80c6/packages/%40headlessui-react/pages/menu/menu-with-popper.tsx |
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
-
Hey can you please help me how to position Menu.Items depending on the screen offset because I can’t position the items on top when the menu is near to the bottom of the browser.
Beta Was this translation helpful? Give feedback.
All reactions