I am using the RazeTextbox control that updates a value on the Change or @oninput event in a Blazor 8 server app. When typing in the middle of a sentence the cursor jumps to the end of the sentence. Is there a way to fix this?:
This is likely to happen with Blazor server mode due to latency.
- Does it work if you use the built-in InputText component?
- Does it work if you stop using
@oninput
?
Yes this does happen on a regular blazor input control so not a RadZen issue. See: https://github.com/dotnet/aspnetcore/issues/14242 It looks like it was never resolved fully. Would you happen to know if there is a way to mitigate this problem to a usable state?
The workarounds that I know of are not ideal:
- Use a different rendering mode which doesn't have inherent latency (WebAssembly)
- Avoid using
@oninput