examples / content-height
Content height
Let measured content define the sheet destination as it changes.
All recipesLive package
Preview
Phone viewport: 390 × 780
Loading preview…
Prerequisites
- Content whose rendered height can change.
Behavior
- The content destination is measured again after layout changes.
Accessibility notes
- Dynamic content remains inside the named dialog.
- The explicit Done control restores focus to the trigger.