File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed 
polaris-react/src/components/Collapsible Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ ' @shopify/polaris ' major 
3+ --- 
4+ 
5+ Removed deprecated preventMeasuringOnChildUpdate prop on Collapsible
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ export interface CollapsibleProps {
2222   * @default  transition={{duration: 'var(--p-duration-150)', timingFunction: 'var(--p-ease-in-out)'}} 
2323   */ 
2424  transition ?: boolean  |  Transition ; 
25-   /** @deprecated  Re-measuring is no longer necessary on children update **/ 
26-   preventMeasuringOnChildrenUpdate ?: boolean ; 
2725  /** The content to display inside the collapsible. */ 
2826  children ?: React . ReactNode ; 
2927} 
@@ -35,7 +33,6 @@ export function Collapsible({
3533  expandOnPrint, 
3634  open, 
3735  transition =  true , 
38-   preventMeasuringOnChildrenUpdate : _preventMeasuringOnChildrenUpdate , 
3936  children, 
4037} : CollapsibleProps )  { 
4138  const  [ height ,  setHeight ]  =  useState ( 0 ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments