Bug Type: Component
Environment
- Vue Version:
3.2.47
- Element Plus Version:
2.3.4
- Browser / OS:
Chrome
- Build Tool:
Vite
Reproduction
Related Component
el-cascader
Reproduction Link
Element Plus Playground
Steps to reproduce
- Disable horizontal scroll
- Add el-cascader to view
- Add 4 options with children
- Open cascader and select option
- Its impossible to select the last option if screen is to small
What is Expected?
Last panel always fully visible
What is actually happening?
The last panel is out of screen
Additional comments
(empty)
3条答案
按热度按时间pu3pd22g1#
Add below styling to Element plus playground somehow it keeps getting removed.
ccrfmcuu2#
At present, this kind of scenario may only consider adding
overflow-x: auto
to.el-cascader-panel
.c7rzv4ha3#
Yes, thats also our current temporary solution but it would be great if the panels don't fit on screen the
.el-cascader__dropdown
gets aright: 5px;
style instead of the current auto.