Thought I was clever making a custom drawer component, only to realize that SwiftUI already has a DisclosureGroup component that’s literally the same thing 🤦‍♂️. Weird thing tho is that my custom component would ignore its transition animations to show/hide its content if the component was rendered inside of a List or Form. DisclosureGroup works just fine under a List. What am I missing here? Why are my animations ignored if inside a List? #BuildInPublic #iosdev #swiftui
| Github | https://github.com/Nik-MS |