Post

Replies

Boosts

Views

Activity

Reply to SwiftUI: Sheet Modal, unexpected resize behavior
Hi, I faced the same phenomenon when using sheet view with Text field in it's content. Something like, showing text field in only large detent. Currently in medium detent, and when swipe up to large detent, the sheet jerking and still keep the medium detent. Not sure the reason why (maybe swiftUI bug), but can pass it by 2 workaround. Write the sheet view content directly, don't use another struct view. Using @ViewBuilder instead of new struct view. Pls try.
Mar ’24