Element UI version
2.13.2
OS/Browsers version
win10_1909 Edge_81.0.416.64
Vue version
2.6.11
Reproduction Link
https://codepen.io/xiaofan007/pen/KKdJKzP?editable=true%3Dhttps%3A%2F%2Felement.eleme.cn%2F
Steps to reproduce
Mouse click on the el-select component with enabled 'automatic-dropdown' property
What is Expected?
The drop-down box displays normally when the el-select component enables the "auto drop-down" property.
What is actually happening?
When the el-select component is enabled 'automatic-dropdown' property, the first click on the component is not normal, and it will be displayed normally only when it is clicked again is enabled.
3条答案
按热度按时间piah890a1#
遇到同问题 唯独点击下拉箭头时正常 第一次点击选择框空白处闪烁 第二次点击正常 bug出现在V2.12.0以上版本
pdsfdshx2#
I looked at his code and found that after the handleFocus function was executed, the toggleMenu function was also executed. So my temporary solution is:
8iwquhpp3#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.