Exceptions on the context menu when the "Details" view is activated

Hi team,
I encounter exceptions when the "Details" view is activated. Just right click on a file and the exception below appears in the browser console
This error does not occur in the "Large icon" view.
Avez vous des suggestion pour éviter cette exception ?

Mon implémentation est celle-ci :

<div>
    <SfFileManager @ref="sfFileManager" TValue="FileManagerDirectoryContent" AllowMultiSelection="false">
        <FileManagerAjaxSettings Url="/filemanager/fileoperations"
                                 UploadUrl="/filemanager/upload"
                                 DownloadUrl="/filemanager/download"
                                 GetImageUrl="/filemanager/getimage">
        </FileManagerAjaxSettings>
        <FileManagerContextMenuSettings File="@Items" Folder="@Items"></FileManagerContextMenuSettings>
        <FileManagerEvents TValue="FileManagerDirectoryContent" OnMenuClick="menuClick"></FileManagerEvents>
    </SfFileManager>
</div>
...

    public async void menuClick(Syncfusion.Blazor.FileManager.MenuClickEventArgs<FileManagerDirectoryContent> args)
    {
        menuTargetData = JsonConvert.SerializeObject(args.FileDetails);
        Dictionary<string, dynamic>[] fileDetails = JsonConvert.DeserializeObject<Dictionary<string, dynamic>[]>(menuTargetData);
        if (fileDetails[0]["Type"] == ".xsd")
        {
            ;
        }
        if (args.Item.Text == "Generate code")
        {
            var root = await _fileManagerViewModel.GetRootPath();
            string fileName = fileDetails[0]["Name"];
            string SubDir = fileDetails[0]["FilterPath"];
            SubDir = SubDir.Replace("//", "");

            var path = Path.Combine(root, SubDir, fileName);
            var EncryptPath = Base64tHelper.Encode(path);
            _navigationManager.NavigateTo($"/Editor/{EncryptPath}");
        }
    }

blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Event 460 is already tracked
      Error: Event 460 is already tracked
          at v.add (https://localhost:44375/_framework/blazor.webassembly.js:1:10688)
          at w.setListener (https://localhost:44375/_framework/blazor.webassembly.js:1:8765)
          at V.applyAttribute (https://localhost:44375/_framework/blazor.webassembly.js:1:20341)
          at V.insertElement (https://localhost:44375/_framework/blazor.webassembly.js:1:19455)
          at V.insertFrame (https://localhost:44375/_framework/blazor.webassembly.js:1:18439)
          at V.applyEdits (https://localhost:44375/_framework/blazor.webassembly.js:1:17071)
          at V.updateComponent (https://localhost:44375/_framework/blazor.webassembly.js:1:16469)
          at https://localhost:44375/_framework/blazor.webassembly.js:1:49565
          at Object.he._internal.renderBatch (https://localhost:44375/_framework/blazor.webassembly.js:1:49935)
          at Object.lt [as invokeJSFromDotNet] (https://localhost:44375/_framework/blazor.webassembly.js:1:52158)
Microsoft.JSInterop.JSException: Event 460 is already tracked
Error: Event 460 is already tracked
    at v.add (https://localhost:44375/_framework/blazor.webassembly.js:1:10688)
    at w.setListener (https://localhost:44375/_framework/blazor.webassembly.js:1:8765)
    at V.applyAttribute (https://localhost:44375/_framework/blazor.webassembly.js:1:20341)
    at V.insertElement (https://localhost:44375/_framework/blazor.webassembly.js:1:19455)
    at V.insertFrame (https://localhost:44375/_framework/blazor.webassembly.js:1:18439)
    at V.applyEdits (https://localhost:44375/_framework/blazor.webassembly.js:1:17071)
    at V.updateComponent (https://localhost:44375/_framework/blazor.webassembly.js:1:16469)
    at https://localhost:44375/_framework/blazor.webassembly.js:1:49565
    at Object.he._internal.renderBatch (https://localhost:44375/_framework/blazor.webassembly.js:1:49935)
    at Object.lt [as invokeJSFromDotNet] (https://localhost:44375/_framework/blazor.webassembly.js:1:52158)
   at Microsoft.JSInterop.WebAssembly.WebAssemblyJSRuntime.InvokeUnmarshalled[Int32,RenderBatch,Object,Object](String identifier, Int32 arg0, RenderBatch arg1, Object arg2, Int64 targetInstanceId)
   at Microsoft.JSInterop.WebAssembly.WebAssemblyJSRuntime.InvokeUnmarshalled[Int32,RenderBatch,Object](String identifier, Int32 arg0, RenderBatch arg1)
   at Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer.UpdateDisplayAsync(RenderBatch& batch)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()



2 Replies 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team May 6, 2021 09:27 AM UTC

Hi Pascal, 
 
Greetings from Syncfusion support. 
 
We are able to replicate the issue in WebAssembly application when opening the context menu in details view of File Manager component. We have considered this as a bug and the fix for this issue will be included in the weekly patch release which will be rolled out by the end of May, 2021. 
   
You can track the status through the below feedback link.   
   
   
We appreciate your patience.  
  
Regards, 
Indhumathy L 



IL Indhumathy Loganathan Syncfusion Team June 1, 2021 03:19 PM UTC

Hi Pascal, 
 
Thanks for your patience. 
 
We are glad to announce that our patch release (V19.1.66) is rolled out successfully. The issue with “Error while opening the context menu in FileManager details view” has been resolved in this release. To access this fix, we suggest you to update the package to the latest version 19.1.66. 
 
Please, refer the below sample link. 
 
 
Please let us know, if you need any further assistance. 
 
Regards, 
Indhumathy L 


Marked as answer
Loader.
Up arrow icon