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

Popover and Select #3438

Closed
plandem opened this Issue Oct 14, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@plandem
Contributor

plandem commented Oct 14, 2016

Is it possible to prevent the changing of visibility of popover after interaction with Select?

Here is demo:
http://codepen.io/anon/pen/XjBVbp?editors=0011

@afc163

This comment has been minimized.

Member

afc163 commented Oct 14, 2016

getPopupContainer https://ant.design/components/select/#Select-props

https://codepen.io/anon/pen/NaMbVg?editors=0011

You can use getPopupContainer={triggerNode => triggerNode.parentNode} to make select dropdown menu rendering inside the Popover content.

https://github.com/ant-design/ant-design/wiki/FAQ#select-dropdown-datepicker-timepicker-popover-popconfirm-will-scroll-with-page

#3487

@plandem

This comment has been minimized.

Contributor

plandem commented Oct 14, 2016

Works! i would add this to official examples. Thanks.

@plandem plandem closed this Oct 14, 2016

@afc163 afc163 added the FAQ label Oct 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment