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

Different Styles getting applied for Dropdown menu when overlay menu is getting rendered from separate component #28753

Closed
1 task
dhruv-shipmnts opened this issue Jan 7, 2021 · 1 comment

Comments

@dhruv-shipmnts
Copy link

dhruv-shipmnts commented Jan 7, 2021

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

Reproduction link

https://codepen.io/dhruvsaraiya-the-typescripter/pen/ExgREVW?editors=0010

Steps to reproduce

Instead of putting <Menu> as overlay, put some other component like <Some>, which at the end returns Menu only.

What is expected?

Same Styles in direct menu vs menu returned from other component.

What is actually happening?

Different styles gettting applied.

Environment Info
antd 4.10.0
React 17.0.1
System Mac
Browser Chrome
@afc163
Copy link
Member

afc163 commented Jan 8, 2021

@afc163 afc163 closed this as completed Jan 8, 2021
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

2 participants