AutoSizing in .NET MAUI AutoComplete (SfAutocomplete)

AutoSizing can be enabled in the SfAutocomplete control so that the control will extend its layout based on the input content.

The EnableAutoSize property is used to enable the auto sizing in the SfAutocomplete control. To enable the API, set the SelectionMode as Multiple and TokensWrapMode as Wrap. The default value of EnableAutoSize is false.

<editors:SfAutocomplete x:Name="autocomplete"
             WidthRequest="350"
             ItemsSource="{Binding SocialMedias}"
             SelectionMode="Multiple"
             MaxDropDownHeight="250"
             DisplayMemberPath="Name"
             TextMemberPath="Name"
             Placeholder="Enter Media"
             TokensWrapMode="Wrap"
             EnableAutoSize="True" />

.NET MAUI Autocomplete AutoSize.