Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

响应式response.nav的做reversed时,菜单不判断该往哪个方向展示的? #3700

Open
SimonX2h opened this issue Mar 24, 2024 · 1 comment

Comments

@SimonX2h
Copy link

SimonX2h commented Mar 24, 2024

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

image
image

Expected Behavior

the menu should be upward.

To Reproduce

No response

@simonguo
Copy link
Member

Hi @SimonX2h 你可以为 ResponsiveNav 设置 moreProps 属性,定义菜单打开的方向。

<ResponsiveNav moreProps={{  placement:'topEnd' }}>
...
</ResponsiveNav>

https://github.com/rsuite/responsive-nav?tab=readme-ov-file#props

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants