Resizing a ListView with ExpansionTiles #4531
              
                Unanswered
              
          
                  
                    
                      HerrWaffel
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hey,
I ran into some weird behaviour when trying to adjust the height of a ListView which contains ExpansionTiles.
When the ExpansionTile is changed and tries to adjust the height or expand property of the ListView parent, the ListView updates but cancels the opening of the ExpansionTile. After clicking the tile again, it opens correctly.
It does this when changing the height, expand or both on the ListView.
Is this a bug, or am I setting up something weird?
The behaviour I want is to limit the height of the ListView when any of the ExpansionTiles are expanded; otherwise, it needs to expand.
Thanks,
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions