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

popconfirm控件问题 #16546

Closed
1 task
nlx0201 opened this issue May 13, 2019 · 3 comments
Closed
1 task

popconfirm控件问题 #16546

nlx0201 opened this issue May 13, 2019 · 3 comments
Assignees

Comments

@nlx0201
Copy link

nlx0201 commented May 13, 2019

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 设置父div高度为40,布局为flex column,设定overflow-y为auto。
  2. 内部放置3个高度为30的按钮,包含popconfirm。
  3. 点击button控件,弹出popconfirm, 滚动滚动条,popconfirm不会跟随内部按钮滚动。

What is expected?

期望popconfirm跟随button滚动

What is actually happening?

无法跟随滚动,popconfirm固定不变

Environment Info
antd 3.17.0
React 15.4.2
System window 10
Browser chrome

能否补充popuptriggercontainer属性

@afc163
Copy link
Member

afc163 commented May 13, 2019

Please read FAQ before openning new issue.

https://ant.design/docs/react/faq-cn

#3487 #3438

@afc163 afc163 closed this as completed May 13, 2019
@nlx0201
Copy link
Author

nlx0201 commented May 13, 2019

看到了,麻烦API说明文档上补充此属性

@afc163
Copy link
Member

afc163 commented May 13, 2019

image

因为 Popover 和 Popconfirm 都是基于 Tooltip 实现的,所有都链到这里了。

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

3 participants