Page is freezes #391
-
BlazorWebAssembly .NET 8, MudBlazor 7.15.0, Cropper.Blazor 1.3.4. What causes the tab to die when opening a MudDialog along with a CropperComponent? There are two scenarios when a tab dies (freezes). Can you please tell me what I'm doing wrong? How can I fix it?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @DiamondKesha. You need to handle invalid values yourself (or not to allow such) or as we do on the demo page: https://cropperblazor.github.io/demo. Additionally, we use overrides internal cropper blazor library js function on our Zoom Ratio Settings from that file: https://github.com/CropperBlazor/Cropper.Blazor/blob/dev/src/Cropper.Blazor/Client/wwwroot/overrideCropperJsInteropModule.js |
Beta Was this translation helpful? Give feedback.
Hi @DiamondKesha. You need to handle invalid values yourself (or not to allow such) or as we do on the demo page: https://cropperblazor.github.io/demo. Additionally, we use overrides internal cropper blazor library js function on our Zoom Ratio Settings from that file: https://github.com/CropperBlazor/Cropper.Blazor/blob/dev/src/Cropper.Blazor/Client/wwwroot/overrideCropperJsInteropModule.js