Dynamic Height Based on content

Is there a way to adjust the height of the sftextbox based on its content?

<SfTextBox @bind-Value="@conversation" Multiline="true" CssClass="text-multiline" /> 



1 Reply

YS Yohapuja Selvakumaran Syncfusion Team April 17, 2025 01:12 PM UTC

Hi Eli Prog,

Thank you for reaching out to us.


We would like to inform you that the SfTextBox component, when configured with the Multiline property, is designed to automatically increase its height as the user types more content. This is the built-in behavior of the component to accommodate growing text content.


If you’re aiming for a specific resizing behavior or need help with further customization, please let us know—we’ll be happy to assist you further.



Regards,

Yohapuja S




Loader.
Up arrow icon