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

Trigger afterVisibleChange if visible is true by default, so the minWidth is set to rootNode.offsetWidth #41

Closed
spideeee opened this issue Nov 16, 2018 · 0 comments

Comments

@spideeee
Copy link

Reproducible link: https://codesandbox.io/s/zq3m99317m

Steps to reproduce
Pass visible equal to true to Dropdown

What is expected?
Overlay should have same width to the button which is the case if it is not visible by default.

What is actually happening?
Overlay menu is initialized to minimum width.

Root issue: ant-design/ant-design#13128

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

1 participant