ant-design support for menu's subMenu "rtl" positioning

zzzyeukh  于 22天前  发布在  其他
关注(0)|答案(4)|浏览(18)

What problem does this feature solve?

"rtl" languages menus.
i am writing in an "rtl" language and my subMenu is always stuck to the left side of the menu item, which is not suitable for "rtl" menus.

What does the proposed API look like?

i don't have a possible solution.

yws3nbqq

yws3nbqq1#

Hello @yuvalnir. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x , or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @yuvalnir,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.xantd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。
什么是最小化重现,为什么这是必需的?

u5i3ibmn

u5i3ibmn3#

I see. Maybe we should provide logical placement such as startStartstartEnd to automaticly adapt position.

ig9co6j1

ig9co6j14#

Currently we should make submenu follow direction from ConfigProvider

相关问题