Bug Type: Component
Environment
- Vue Version:
3.2.0
- Element Plus Version:
2.0.5
- Browser / OS:
Chrome
- Build Tool:
Vue CLI
Reproduction
Related Component
el-menu
el-menu-item
el-sub-menu
Reproduction Link
Element Plus Playground
Steps to reproduce
1.Collapse vertical navigation menu
2.reduce window height
What is Expected?
When the multi-level menu and the first-level menu are used at the same time, the sub-menus of the multi-level menu should appear in the appropriate position with the change of the window height
What is actually happening?
Submenus not appearing in the proper place
Additional comments
I tried to use "popper-append-to-body" but it failed。
7条答案
按热度按时间kkbh8khc1#
same problem
axr492tv2#
same on vertical. if sub-menu popper doesn't fit at bottom-start position it switches to left-start position and draws over its menu bar
What is Expected?
if bottom-start not fit, it must switch to bottom-end
knsnq2tg3#
I have the same problem
dgiusagp4#
how to fix this ugly problem?
bqjvbblv5#
can i set the popper direction? i want to keep right-start
voase2hg6#
I have the same problem
wmomyfyw7#
popper-append-to-body abandoned,
How should it be solved ?