-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Issue summary
Collapsible occasionally does not recompute the size of its children even if they change their size appropriately within the React event cycle.
Expected behavior
As the children grow, all expanded Collapsible containers show their children
Actual behavior
Steps to reproduce the problem
A reproduction scenario is here
If you want to recreate the repro:
- Build a component that grows every second
- In another component, have a button to add a Collapsible with the growing element inside.
- Then click this button any number of times; the last added Collapsible will not grow but the others will
Reduced test case
See the problem here: https://codesandbox.io/s/quiet-leaf-bsrk37?file=/App.js
Specifications
- Are you using the React components? (Y/N): Yes
- Polaris version number: 10.4.1
- Browser: Google Chrome
- Device: MacBook Pro (14-inch, 2021); Apple M1 Pro
- Operating System: MacOS Monterey 12.6 (21G115)
Metadata
Metadata
Assignees
Labels
No labels
