-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
🐛[BUG]ProFormTreeSelect设置onDropdownVisibleChange之后,下拉框无法展示 #8876
Comments
设置 onDropdownVisibleChange 之后需要自己维护 open 状态,详情如下: |
为啥select不是这样呢 |
pro-components 在这里做了一层封装,如果传入了 onDropdownVisibleChange 就会代替默认的 onDropdownVisibleChange,内部的 setOpen 无法触发需要外部传入 open 状态代替原来的 open。 |
cycleccc
added a commit
to cycleccc/pro-components
that referenced
this issue
Nov 21, 2024
chenshuai2144
pushed a commit
that referenced
this issue
Nov 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
ProFormTreeSelect设置onDropdownVisibleChange之后,下拉框无法展示
📷 复现步骤
https://codesandbox.io/p/sandbox/pwnr35
🏞 期望结果
可以正常展示下拉框
💻 复现代码
https://codesandbox.io/p/sandbox/pwnr35
© 版本信息
🚑 其他信息
The text was updated successfully, but these errors were encountered: