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

Collapse not working properly #36327

Closed
singh-sumit opened this issue Jun 30, 2022 · 3 comments · Fixed by react-component/collapse#236
Closed

Collapse not working properly #36327

singh-sumit opened this issue Jun 30, 2022 · 3 comments · Fixed by react-component/collapse#236

Comments

@singh-sumit
Copy link

singh-sumit commented Jun 30, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • Put the Panel within separate component, say PanelElement,
  • Wrap this new component within Collapse component,

What is expected?

Problem

  • I want every Panel within a separate component to manage(i.e. refresh) each panel with its state,

What is actually happening?

Observation:

  • ">" icon doesn't appear, and panel is not collapsible even
  • While the other panels wrapped just within the Collapse Component are collapsible
Environment Info
antd 4.21.4
React 16.14.0
System Windows 10
Browser Chrome Version 103.0.5060.66 (Official Build) (64-bit)

collapse-error

@afc163
Copy link
Member

afc163 commented Jul 1, 2022

Duplicate of #4853

@afc163 afc163 marked this as a duplicate of #4853 Jul 1, 2022
@afc163 afc163 closed this as completed Jul 1, 2022
@afc163
Copy link
Member

afc163 commented Jul 1, 2022

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

Successfully merging a pull request may close this issue.

2 participants