Been fighting with animations related to resizing cells in a SwiftUI List this afternoon, and came across a surprising... 'fix’.
Instead of composing the cells from VStacks, I composed them of Scrollviews. And it's not bad!?
I know not using a List will fix this, but that's not an option.
=> View attached media | View attached media
=> More informations about this toot | More toots from matt1corey@iosdev.space
Filling a List with a bunch of Scrollviews seems bad. Anyone else dealt with this issue in a different way?
Alternately, is there a way to apply this gradient background across an entire Section? Using .listRowBackground doesn't work, as the gradient is clipped on each row.
=> More informations about this toot | More toots from matt1corey@iosdev.space
Hrmph - those two identical images were supposed to be movies. Let's try this again...
=> More informations about this toot | More toots from matt1corey@iosdev.space
Aaaand the smoother animations, courtesy of weird ScrollViews
=> More informations about this toot | More toots from matt1corey@iosdev.space
@matt1corey generally I’ve found a LazyVStack to work better than Lists 🫠
=> More informations about this toot | More toots from GetSwifty@iosdev.space
@GetSwifty yeah I know, but List includes a lot of other features that I’m taking advantage of here 🤷♂️
=> More informations about this toot | More toots from matt1corey@iosdev.space This content has been proxied by September (3851b).Proxy Information
text/gemini