rsuite icon indicating copy to clipboard operation
rsuite copied to clipboard

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

Open SimonX2h opened this issue 2 years ago • 1 comments

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

SimonX2h avatar Mar 24 '24 02:03 SimonX2h

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

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

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

simonguo avatar Mar 25 '24 03:03 simonguo