TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Ultimate Portfolio Step 12: premature sorting action on sort button event

Forums > SwiftUI

At step 12 implementation, in the iPhone 12 Pro simulator (12.4) when I edit an item, e.g. changing priority or completion, after returning to the main list view, when I click the sort button a sort happens as the actionSheet comes into display.

In other words, as soon as the sort button is clicked the list rows reorder, even as the actionSheet is animating up in front.

I suspect this may be a similar issue to the "SOLVED: Ultimate Portfolio App: Editing a Project Dismiss immediately" topic in this forum, but I'm not sure. Anyone else seeing this?

3      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.