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

DatePicker 弹框位置错误 #30756

Closed
1 task
YaoKaiPeng opened this issue May 28, 2021 · 1 comment
Closed
1 task

DatePicker 弹框位置错误 #30756

YaoKaiPeng opened this issue May 28, 2021 · 1 comment
Labels

Comments

@YaoKaiPeng
Copy link

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击选择日期,发现日期确定按钮超出屏幕,滚动页面,触发Affix效果,日期选择框依然被挡

What is expected?

日期选择框可以根据屏幕显示位置来自动呈现位置

What is actually happening?

目前的日期选择框是根据页面高度来处理位置的,当页面底部有滚动条时,日期框会一直是从下方弹出。

Environment Info
antd 4.16.0
React 17.0.2
System win10
Browser chrome
@afc163
Copy link
Member

afc163 commented May 27, 2023

@afc163 afc163 closed this as completed May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants