Blazor Grid Context Menu weird behavior

I recently updated to .net 6rc1 and have the Syncfusion Grid, Notifications, and Layouts individual nuget packages, version 19.3.0.44. I am using the bootstrap4 styling via:

I am having trouble with the context menu on the data grid. The right click of the context menu does not open the custom data grid at all. I also have a button on each row to open a separate context menu, and this opens up in the incorrect spot on the page, and messes up some of the styling on the grid, such as adding weird vertical scrolling. See video.

My solution was working well before updating to .net 6 rc1 and the newer Nuget packages for Syncfusion.


I can provide more details such as a sample repo if needed.


Attachment: DataGridWeirdContextMenu_1fe0fab2.zip


4 Replies

VN Vignesh Natarajan Syncfusion Team October 7, 2021 05:11 AM UTC

Hi Zachary,  
 
Thanks for contacting Syncfusion support.  
 
Query: “The right click of the context menu does not open the custom data grid at all.  
 
As per your suggestion we have prepared a sample with context menu items in Grid with Detail template using 19.3.0.44 version of Syncfusion.Blazor (individual) NuGet packages. And we are unable to reproduce the reported issue at our end. Kindly refer the below sample for your sample.  
 
 
Kindly ensure the reported issue by clearing the NuGet cache, browser cache. If you are still facing the reported issue. Kindly share the following detais.  
 
  1. Share the Grid code example.
  2. Share details about the custom context menu items and its code.
  3. Are you facing the reported issue in latest version alone 19.3.0.44 or in 19.3.0.43 version also?
  4. If possible try to reproduce the reported issue in provided sample and revert back to us.
  5. Or share a simple issue reproducible sample.
 
Above requested details will be very helpful in validating the reported query at our end and provide solution as early as possible.  
 
Regards, 
Vignesh Natarajan  



ZW Zachary Witt October 8, 2021 03:01 PM UTC

Hi Vignesh,


I've downloaded your code and the sample solution works just like I would like it to work. When I copied that razor component into my project, it reverted back to the weird behavior from my first video I posted.


This behavior happens in 19.3.0.43 as well as 19.3.0.44.

I cleared my Nuget Cache and Browser Cache with no changes to the outcome.


I did notice the sample you provided was a Blazor Wasm, could you provide another sample using Blazor Server?


Thanks, Zach



ZW Zachary Witt October 8, 2021 06:36 PM UTC

Vignesh,


You can disregard my last post.  I had added the Grid Individual Nuget package, but did not have included the navigation package which is needed for the context menu portion.   My problem is resolved.



RS Renjith Singh Rajendran Syncfusion Team October 11, 2021 04:50 AM UTC

Hi Zachary, 

Thanks for your update. Please get back to us if you need further assistance. 

Regards, 
Renjith R 


Loader.
Up arrow icon