I am trying to expand a row cell (which is a custom view) on tap gesture. The cell height has to be increased and a button is being moved in the expanded area. But I get the
Just use animatable modifier from this my solution
Tested with Xcode 11.4 / iOS 13.4
ZStack { // .. other your code here } .modifier(AnimatingCellHeight(height: self.isExpanded ? 120 : 200))