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

ie浏览器下,如果指定组件渲染的容器即调用getPopupContainer, 组件获取焦点以后会导致页面闪烁 #18714

Closed
1 task
xuwenjia opened this issue Sep 6, 2019 · 12 comments
Assignees
Labels
IE | Firefox | Safari 🤔 Need Reproduce We cannot reproduce your problem

Comments

@xuwenjia
Copy link

xuwenjia commented Sep 6, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://bigdata.autohome.com.cn/smartRD/assert/#/RdCompete

Steps to reproduce

ie浏览器下指定组件父容器

What is expected?

不闪烁

What is actually happening?

获取焦点就会闪烁

Environment Info
antd 3.23.1
React 16以上
System windows
Browser ie
@yoyo837
Copy link
Contributor

yoyo837 commented Sep 6, 2019

We need a runnable codesandbox to confirm and debug.

@yoyo837 yoyo837 added the 🤔 Need Reproduce We cannot reproduce your problem label Sep 6, 2019
@ant-design-bot
Copy link
Contributor

Hello @xuwenjia. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @xuwenjia, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@afc163
Copy link
Member

afc163 commented Sep 9, 2019

可以帮忙排查一下么

@xuwenjia
Copy link
Author

xuwenjia commented Sep 9, 2019

We need a runnable codesandbox to confirm and debug.

ie cant open codesandbox

@xuwenjia
Copy link
Author

xuwenjia commented Sep 9, 2019

可以帮忙排查一下么

ie 打不开在线链接。。。,有滚动条的时候需要指定父容器这个时候ie就会闪烁

@ant-design-bot
Copy link
Contributor

This issue is closed because it has been marked as Need Reproduce, but has not had recent activity.
If you can provide a reproduce, feel free to ping anyone of our maintainers to reopen this issue.
Thank you for your contributions.

@wongfugui
Copy link

可以帮忙排查一下么

ie 打不开在线链接。。。,有滚动条的时候需要指定父容器这个时候ie就会闪烁

老哥,我也碰到一样的问题了,你是怎么解决的?

@stupid2013
Copy link

可以帮忙排查一下么

ie 打不开在线链接。。。,有滚动条的时候需要指定父容器这个时候ie就会闪烁

@xuwenjia 请问你们解决这个问题了吗 我也遇到了 如果你们已经解决的话 能不能分享一下 谢谢~

@wufeng87
Copy link

你们ie都不注明版本吗?我这边是ie11有这个问题。原因还不明。

@daniellidg
Copy link

<div class="blink-class">
  <Select
	defaultValue="lucy"
	style={{ width: 120 }}
	getPopupContainer={(trigger) => trigger.parentNode}
  >
	<Option value="jack">Jack</Option>
	<Option value="lucy">Lucy</Option>
	<Option value="yiminghe">yiminghe</Option>
  </Select>
</div>

然后对父组件添加伪元素样式:

.blink-class:after{
  content: '';
  position: fixed;
  display: block;
}

@xrkffgg
Copy link
Member

xrkffgg commented Nov 19, 2020

Duplicate of #21039

@xrkffgg xrkffgg marked this as a duplicate of #21039 Nov 19, 2020
@liqin1059
Copy link

我也遇到了好烦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IE | Firefox | Safari 🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

10 participants