Korthax / BlazorSplitGrid

MIT License
3 stars 2 forks source link

Changed invokeMethod to invokeMethodAsync #6

Closed TimDaiser closed 3 months ago

TimDaiser commented 3 months ago

fixing issue, where events will not be triggered from blazor server.

All panel-events (OnDrag, OnDragStart, OnDragStop) will not be called on blazor server applications. Changing invokeMethod to invokeMethodAsync makes sure that the events will be called on every blazor application type.

Unit-Tests are all green.

Explanation from MS: https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-dotnet-from-javascript?view=aspnetcore-8.0