79413009

Date: 2025-02-04 20:58:20
Score: 0.5
Natty:
Report link

I've been banging my HEAD against this issue for a few days...

I'm SURPRISED that adding a styling for a button changes both buttons behavior - sounds like introducing a side effect has a benefit.

I've given up on the List view... and gone a different direction to get my Row buttons functional. Using a ScrollView & VStack (replaces List)... then add back in the desired List swipe actions with open source SwipeActions Lib.

REF: https://github.com/aheze/SwipeActions and there is another https://github.com/c-villain/SwipeActions maybe more...

This is a workaround that trades unknown frameworks that appear to work for the SwiftUI List API that has poor developer experience.

I wish Apple would address the shortfalls in List.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: David