Ancestors

Toot

Written by Duncan Babbage on 2024-10-25 at 23:29

Trying to use the new #SwiftUI .onScrollPhaseChange on a List… No matter which level in my view hierarchy I’ve tried attaching it I get an initial call to the closure with an .idle state but no phase changes are reported when scrolling…

Anyone encountered this? #iOSDev

=> More informations about this toot | More toots from babbage@iosdev.space

Descendants

Written by Duncan Babbage on 2024-10-25 at 23:39

Ah damn, looks like it's a SwiftUI bug: https://forums.developer.apple.com/forums/thread/758922

=> More informations about this toot | More toots from babbage@iosdev.space

Written by Dale Price on 2024-10-25 at 23:39

@babbage Pretty sure most of the SwiftUI scrolling APIs only work with ScrollView and not List

=> More informations about this toot | More toots from dale_price@mastodon.online

Written by Duncan Babbage on 2024-10-25 at 23:48

@dale_price ah darn. Believable.

All I want is some kind of isScrolling / isActive signal, doesn’t seem too much to ask but that doesn’t mean it exists.

=> More informations about this toot | More toots from babbage@iosdev.space

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113370659943583043
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
259.901985 milliseconds
Gemini-to-HTML Time
0.856133 milliseconds

This content has been proxied by September (3851b).