I have a list of NavigationLinks that operate as expected. I use EditMode to allow the user to move and delete items in the list. When in edit mode, I want the user to tap on a list item to be able to display a sheet where the list item's content can be modified. This MOSTLY works, but not consistently. below is my code:
The problem is that tapping on the list item when in edit mode does not always work on the first tap and/or it is sensitive to the location of the tap.
I would like to be able to tap anywhere in the list item only ONCE to bring up my editor sheet. What am I doing wrong?
Bump. Still stuck on this issue. I have tried the following:
But that has some unacceptable side effects.
Anybody have ideas about how to resolve this issue?
I believe the problem to be the conflict with the built-in behavior of edit mode. I does feel a bit counterinuitive, since we are used to swipe actions when in edit mode, and not editing the item directly there. Incidentally it's quite sad that we can't as yet add custom actions.
You could have a special edit button, either as part of your menu or a floating button at the bottom right corner, which disables the navigation links and triggers the edit on tap.
Not sure if this would get you the result you are after, but I think it feels more natural that way.
SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.
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.
Link copied to your pasteboard.