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

在modal(页面过长)里写AutoComplete,在滚动时会使AutoComplete的下拉框出现错位 #10557

Closed
1 task
Rocky1073 opened this issue May 17, 2018 · 7 comments

Comments

@Rocky1073
Copy link

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

Version

3.4.3

Environment

chrome 65.0.3325.181

Reproduction link

https://github.com/Rocky1073/AutoComplete.git

Steps to reproduce

首先要页面过长,然后只要把AutoComplete组件包在Modal组件里就会出现这个问题

What is expected?

鼠标滚动条上下滚动时AutoComplete组件的下拉框不要跟着动

What is actually happening?

鼠标滚动条上下滚动时AutoComplete组件的下拉框会跟着动


总之不包在组件里就不存在问题
@ant-design-bot
Copy link
Contributor

Translation of this issue:


Writing AutoComplete in modal (page too long) causes AutoComplete drop-down box to appear misplaced when scrolling

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

Version

3.4.3

Environment

Chrome 65.0.3325.181

Reproduction link

[https://github.com/Rocky1073/AutoComplete.git] (https://github.com/Rocky1073/AutoComplete.git)

Steps to reproduce

First the page is too long, and then this problem occurs only if you package the AutoComplete component in the Modal component.

What is expected?

Do not follow the drop-down box of the AutoComplete component when the mouse scroll bar scrolls up and down

What is actually happening?

The AutoComplete component's drop-down box will follow when the mouse scroll bar scrolls up and down


In short there is no problem with the component

@afc163 afc163 closed this as completed May 17, 2018
@Huanghuiying0624
Copy link
Contributor

Huanghuiying0624 commented Aug 9, 2018

@afc163 AutoComplete do not have getXxxxContainer props so the misplace problem cannot be fixed in TypeScript

@afc163
Copy link
Member

afc163 commented Aug 9, 2018

@Huanghuiying0624 PR welcome

@Huanghuiying0624
Copy link
Contributor

@afc163 #11690 please check it. thanks a lot

@fuhaichao122
Copy link

@afc163 #11690 please check it. thanks a lot

Hello, how can I solve this problem? no getXxxxContainer props

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants