Description
The current BottomSheet control does not automatically adjust its height based on its content. This results in unused space when the content is smaller than the sheet height or clipping when the content is larger.
A new auto‑fit height feature would allow the BottomSheet to dynamically resize itself according to the rendered content, improving usability and layout behavior.
This feature is particularly useful for adaptive UI scenarios where content size may vary significantly.
Public API Changes
BottomSheet.AutoFitHeight = true;
Intended Use-Case
- BottomSheet height automatically adapts to content.
- No extra empty space.
- No clipped content.
- Smooth transitions during dynamic content updates.