In the current implementation the use of ZStack causes the background color to expand to maximum available dimensions. This is ok if all swipeable rows are intended to be the same height but it breaks layout if you need to use rows which size themselves to their content.
By replacing ZStack with .background modifier this issue can be resolved. Please note that this necessitates increasing the minimum iOS version to 15 which is probably fine.
In the current implementation the use of
ZStack
causes the background color to expand to maximum available dimensions. This is ok if all swipeable rows are intended to be the same height but it breaks layout if you need to use rows which size themselves to their content.By replacing
ZStack
with.background
modifier this issue can be resolved. Please note that this necessitates increasing the minimum iOS version to 15 which is probably fine.