Using onDismiss lets users close the sheet by swiping it down, tapping on the backdrop or by hitting esc on their keyboard.
onDismiss
The height adjustment is done automatically, it just works™!