-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 and TreeSelect cannot be selected when use custom prefixCls #5023
Comments
官网示例没问题啊 给个复现吧 |
可以看下这个demo |
自己跑一下了吗 我这没问题 |
我和同事的电脑都不行 您可以用别人电脑试一下 |
你可以提供下出现问题的电脑的操作系统,浏览器类型及版本 供排查问题。 |
win10家庭版 chrome 96.0.4664.45 |
试着 删除 nodemodules .lock 文件重装试试吧 |
@tangjinzhou 我也是的build完后 nginx跑 .15版本根本不能选 .14版本select 第一次打开就这个问题再打开就好了。本地复现不出来这个问题 |
debug了下第一次open下拉框时渲染的dom,ant-select-dropdown的style属性有个 pointer-events:none; 关闭之后第二次打开这个属性就没了(.14版本) @tangjinzhou |
如果是 build 之后才会有问题,那提交一个包含 build 之后代码的仓库 |
你们自定义了动画 ? |
https://github.com/yandixuan/build-error |
你这是用 yarn build:test 构建的吧,组件内部对 test 模式做了特殊处理 😓 |
不知道你们是不是同一个原因 @yandixuan @wishong |
🤣 那我换个mode , thanks for youur reply @tangjinzhou |
我是开发环境就不行了 |
是否在 less 自定义了 prefixCls @wishong |
是的,定义了。也有可能是这个问题。因为prefixCls也提了好几个issues了 |
你给的复现示例并没有反映出这个 配置,方便的话在核实下 https://github.com/wishong/antd-bug 这个仓库能复现选不中问题 ? |
我的demo中是有修改前缀类名的。 |
不仅是ant-select-dropdwon有这个问题,下拉选择都有这个问题。ant-dropdown 也一样会多一个 |
It's very sad that you don't use English. Using the library becomes very difficult. Thanks to Google translator, I realized that I have the same problem, but I didn't understand whether it was a bug or a problem in my implementation. P.S. If you add a rule to write an issue and discuss in English, it will greatly help developers from other countries. Thank you for your work. |
The problem is in I don't use |
@IvanRoslov update to 3.0.0-beta.7 |
@tangjinzhou Unfortunately, it didn't help. Beta 7 also has this bug. |
|
也许英语会帮到一些外国人,但就帮不到更多的使用中文的人了。有谷歌翻译不是一样的吗。 |
Can someone give me an example by codesandbox to reproduce this issue. |
And you should not use |
still not fix with this css may help: .ant-popover,
.ant-select-dropdown,
.ant-dropdown {
pointer-events: initial !important;
} |
have the same problem |
@tangjinzhou |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
3.0.0-alpha.15
Environment
3.0.0-alpha.15
Reproduction link
https://github.com/vueComponent/ant-design-vue
Steps to reproduce
使用Select和TreeSelect
What is expected?
无法选择
What is actually happening?
版本回退到3.0.0-alpha.14正常
3.0.0-alpha.15选不了
The text was updated successfully, but these errors were encountered: