Description
Can be reproduced by following razor component code.
@namespace LoginForm.Components
@using RazorConsole.Components
<p>press enter to clean</p>
<TextInput @bind-Value="@_inputValue" Expand Placeholder="Use control V to copy large chunk of text and freeze the UI" //>
<TextButton Content="Clean" OnClick="() => _inputValue = string.Empty" />
<TextButton Content="Another Clean" OnClick="() => _inputValue = string.Empty" />
@code {
private string _inputValue = string.Empty;
}
Steps to Reproduce
run the code snippet and use control + v to paste text chunks with mulitple times, the TextInput freeze after paste multiple times.
NOTE
The UI still render and respond to input like tab, it's just TextInput that freeze.
Expected Behavior
No freeze
Actual Behavior
freeze
Environment
No response
Additional Context
No response