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

Menu not showing items correctly even if props are passed #30388

Closed
1 task done
sklinov opened this issue May 4, 2021 · 1 comment
Closed
1 task done

Menu not showing items correctly even if props are passed #30388

sklinov opened this issue May 4, 2021 · 1 comment

Comments

@sklinov
Copy link

sklinov commented May 4, 2021

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Hover on the left menu This menu NOT showing items correctly and see those menu items are not displayed correctly.
Item have a wrapper that passes ...props to its children with React.cloneElement (check out Wrapper.tsx)

What is expected?

Menu items are shown and working correctly because ...props are passed to them

What is actually happening?

We can see that item are there (there are 3 of them according to show attribute), but they are not displayed

Environment Info
antd 4.15.4
React 17.0.2
System Windows 10
Browser Chrome
@afc163
Copy link
Member

afc163 commented May 5, 2021

Duplicate of #4853

@afc163 afc163 marked this as a duplicate of #4853 May 5, 2021
@afc163 afc163 closed this as completed May 5, 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