Skip to content
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

[2.7.3] TreeSelect不出菜单选项了,紧急 #5092

Closed
pixystone opened this issue Feb 28, 2017 · 14 comments
Closed

[2.7.3] TreeSelect不出菜单选项了,紧急 #5092

pixystone opened this issue Feb 28, 2017 · 14 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@pixystone
Copy link
Contributor

demo可以复现:

http://codepen.io/anon/pen/qrOONR?editors=001

今天突然发现线上有这个问题,但是开发环境2.7.0不存在问题。

没改过任何代码,但发布过一次,所以由依赖^2.7.0直接装的应该是最新的2.7.3了。

@xuyang2
Copy link

xuyang2 commented Feb 28, 2017

@pixystone 你可以先把 ^2.7.0 改成 2.7.0 精确版本再发布一次

@yesmeck
Copy link
Member

yesmeck commented Feb 28, 2017

@afc163 afc163 self-assigned this Feb 28, 2017
@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Feb 28, 2017
@afc163
Copy link
Member

afc163 commented Feb 28, 2017

Introduced by react-component/trigger#43 ..

afc163 added a commit to react-component/trigger that referenced this issue Feb 28, 2017
afc163 added a commit to react-component/trigger that referenced this issue Feb 28, 2017
@pixystone
Copy link
Contributor Author

指定2.7.0发布到日常,还是有问题,有办法通过css先workround么?

@pixystone
Copy link
Contributor Author

image

我试图通过css解决,但是在这里加上height: 100%后,TreeSelect选项可以看见了,但是这个div会覆盖住整个页面,无法交互

@afc163
Copy link
Member

afc163 commented Feb 28, 2017

是的,我也发现了。

@afc163
Copy link
Member

afc163 commented Feb 28, 2017

你可以暂时先加上来修复。

.ant-select-dropdown {
  max-height: 100vh !important;
}

@pixystone
Copy link
Contributor Author

我打算暂时限定react-component/trigger的版本为1.8.2,可行吗? @afc163

@pixystone
Copy link
Contributor Author

限制rc-trigger的版本确实没有效果,我先用css试试

@pixystone
Copy link
Contributor Author

@afc163 你说的可行,但我发现这样也行:

image

afc163 added a commit to react-component/trigger that referenced this issue Feb 28, 2017
@afc163
Copy link
Member

afc163 commented Feb 28, 2017

react-component/trigger#44

afc163 added a commit to react-component/trigger that referenced this issue Feb 28, 2017
@afc163 afc163 closed this as completed in 35cc822 Feb 28, 2017
@afc163
Copy link
Member

afc163 commented Feb 28, 2017

要等 patch 版本。

@afc163
Copy link
Member

afc163 commented Feb 28, 2017

Fixed in 2.7.4

@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants