rsuite
rsuite copied to clipboard
响应式response.nav的做reversed时,菜单不判断该往哪个方向展示的?
What version of rsuite are you using?
5.57.0
What version of React are you using?
^18.2.0
What version of TypeScript are you using (if any)?
No response
What browser are you using?
Chrome 123.0.6312.58
Describe the Bug
Expected Behavior
the menu should be upward.
To Reproduce
No response
Hi @SimonX2h 你可以为 ResponsiveNav 设置 moreProps 属性,定义菜单打开的方向。
<ResponsiveNav moreProps={{ placement:'topEnd' }}>
...
</ResponsiveNav>
https://github.com/rsuite/responsive-nav?tab=readme-ov-file#props