-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetValue not returning when the value is large. #106
Comments
This is a link to the test repository i created for anyone intrested |
Just tried this solution and I see same the exact same symptoms when the string pasted into the editor is 260k bytes as I have desribed in #109 |
Similar belaviour is seen in Manaco Playground - Issue raised there. |
services.AddSignalR(e => { |
Many thanks @da-baranov, var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();
builder.Services.AddSignalR(e => {
e.MaximumReceiveMessageSize = 1024 * 1024 * 100;
}); |
@Hirad2hhk you might want to try the above, it worked for my app |
Thank you very much @MikeWilliams-UK and @da-baranov . The issue got fixed |
I encountered this problem when i copied a websites source html and i found out that when the editor component is used in blazor server side and the file is larger than 30Kbs(roughly 1000 lines) the method wont return and crashes.
This is easily reproduceable by running the sample app in the repository as blazor server-side and pressing the get value button when a large enough text is in the editor.
The text was updated successfully, but these errors were encountered: