I am making a SwiftUI app for iOS 14, and I have a sidebar list that uses the new children:
attribute of list to make the list expandable:

However, at the moment I am only able to expand this list when I click precisely on the disclosure arrow. I would like to be able to expand this list when I click on the 'My Cool Project' text as well, for instance.
This is possible in the Files app - I can see all of the children of the Locations item when I click on the text saying 'Locations', but I can't figure out how to do this in my app.

To clarify, List
item for each project is a Text
view and the child list items are NavigationLink
Would this behaviour be possible in SwiftUI, even programatically through onTapGesture or with something other than a List
? Thanks in advance for any help/advice!