Post

Replies

Boosts

Views

Activity

Reply to SwiftUI List row expansion causes weird bounce effect
Thanks @DTS Engineer for your reply. Unfortunately doing it that way results in no smooth animation -- the expansion simply "pops" rather than smoothly expanding. Also in my actual app, I have other animations I'm trying to trigger (e.g. fadein/out effects depending on the expansion state) that I believe this would negate? I suppose I could have a separate state for that. But it still allow the list row to smoothly expand/collapse like the default DisclosureGroupStyle. Is there no way to achieve behavior that is similar to the default? I'd consider a VStack, but then I lose the ability handle move/delete operations easily.
Aug ’24