Posts

Post not yet marked as solved
0 Replies
563 Views
Speaking about Outlines (9:22). I want to declare some action for tap on each row from the List, no matter of depth level of the tree. If to add .onTapGesture(perform:) to the Label or GraphicsRow instance, looks like it will override the system logic and therefore items will not expand/collapse while tapping on them. Instead only my custom action will be performed. The only way to collapse/expand, is to tap outside the GraphicsRow View. That leads to bad UX. I do understand why it happens and clearly see the structure of generated views using Debug View Hierarchy, but... Is there any possibility to achieve perform custom actions when user tap on List rows and at the same time to keep items expanding/collapsing as usual?
Posted
by Devepre.
Last updated
.