Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
After upgrading to 24.1.7, when I upload an image to the imageEditor, it opens and then slowly grows in size until I refresh the page. See attached video.
I'm setting the data like so:
public async Task SetDataAndType(byte[] data, string type)
{
mimeType = type;
isImage = ImageHelper.IsImageType(mimeType);
isPdf = ImageHelper.IsPdf(mimeType);
imageData = data;
if (imageData == null) return;
await ProcessingSvc.ShowAndInvoke(async () =>
{
// revert blob and clear editor so that previous image doedn't flash when switching between iamgeviewer and pdf
imageBlob = null;
_ = imageEditor.OpenAsync(null);
await InvokeAsync(StateHasChanged);
using var ms = new MemoryStream(imageData);
imageBlob = await BlobSvc.CreateBlobAsync(ms, mimeType);
ms.Close();
if (imageBlob?.Uri == null) return;
if (isImage && imageEditor != null)
{
await imageEditor.OpenAsync(imageBlob.Uri);
}
initialized = true;
await InvokeAsync(StateHasChanged);
});
}