Skip to content

Auto‑Fit Height Property for BottomSheet in .NET MAUI Toolkit #327

Description

@KarthikaRSF4617

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.

Metadata

Metadata

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions