Gornytskyi Maxim
Gornytskyi Maxim
Hi @NovaXeros. Make sure you fill IsAvailableInitCropper parameter (possible other parameters for handling errors) in cropper component. Example: https://github.com/CropperBlazor/Cropper.Blazor/blob/dev/src/Cropper.Blazor/Client/Pages/Replace/Examples/BasicInputReplaceImageWithNewSizeExample.razor#L7
@NovaXeros just let me know if it helped you
@NovaXeros Sounds good
@NovaXeros ok, I accept your repo invite. I plan to go through it this week.
@NovaXeros I took a quick look at the code. My main concern is that this is Server Interactive mode on the page. Maybe you should choose another mode with auto/client...
@NovaXerosI available to reproduce this issue, if you urgently need similar functionality, I can offer to use full rebuild cropper: https://cropperblazor.github.io/examples/rebuild#simple-usage
@NovaXeros Now, I know the reason: IsAvailableInitCropper is somehow not changed for some reason, although in the code it seems to say changed but in demo site it works properly....
@NovaXeros I figure out that: In the new .NET 8, the blazor.web.js SDK parameters components are not updated timely. I strongly recommend using `StateHasChanged()` method after changing a component's parameter,...
@NovaXeros please let me know if offered approach works for you!
Hi @justasxz. Could you glance to the official [docs](https://cropperblazor.github.io/examples/replacing#simple-usage).  If it isn't help you. Could you provide example of project with that problem?