-
| 
         I have a row of components, with fixed known size, but the actual size is different for mobile and desktop, depending on the viewport's width. Just passing new size value to the  Adding  How can I force an update to the virtualizer when the estimated size of the items has changed?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            snelsi
          
      
      
        Aug 29, 2022 
      
    
    Replies: 1 comment
-
| 
         This workaround seems to work: useLayoutEffect(() => {
  virtualizer?.measure?.()
}, [virtualizer, estimatedSize]) | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        snelsi
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
This workaround seems to work: