-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
select组件无法自动关闭下拉框 #2564
Comments
尝试了使用v-model:popup-visible来控制,也没有解决 |
@lubo3395 麻烦提供一个复现地址,我们看一下 |
下面的这个地址复现了问题 https://codesandbox.io/s/arco-design-vue-bug-select-popup-x5pgzc?file=/src/App.vue |
鉴定完毕:
挂到自己时,如果选项被点击,触发 这里的问题在于,挂到自己时点击选项时触发了 |
@lubo3395 @kaikaibenkai 看了下这种用法比较特殊,感觉增加个使用注意,禁止挂载在自身下比较好,比如这里挂载在选择框外层的div上比较合适。选择框和下拉框是两个比较单独的存在 |
我感觉通过组件自身的属性去控制更合适 |
这种写法貌似并没有实际意义,默认就是挂在自己上 |
Basic Info
Steps to reproduce
select组件在使用 popup-container="#myselect" 属性时,在切换选项时无法自动关闭下拉框
The text was updated successfully, but these errors were encountered: