Menu Bar "MenuHoverHandler" error

Hi, I receive this error when navigating too fast between pages while hovering over the menu bar items before the page can fully render.
As you can see from the video, it takes a couple of tries, but it occurs at the end of the video.

I am using SF v18.4.0.46



Attachment: Menu_hover_bug_8497e53.zip

15 Replies

AS Aravinthan Seetharaman Syncfusion Team June 8, 2021 03:57 AM UTC

Hi Kenney, 
 
We have checked your reported query. We are unable to replicate the reported issue in both mentioned version  latest version (19.1.0.66). Please check the below sample and video demonstration. 
 
 
 
 
 
Please upgrade your application to latest by using the below link 
 
 
If you are still facing the issue, kindly share the below details. 
 
  • If possible, try to reproduce the reported issue in provided sample or share the issue reproducible sample
 
Please provide the above requested information, based on that we will check and provide you a better solution quickly. 
 
Regards, 
Aravinthan S 



KP Kenney Phan July 13, 2021 05:53 PM UTC

Hi, I am still receiving this error even with the provided sample you gave me.

Please not that this error happens rarely, but it does occur more often when there are other components that need to be loaded along with the Menu Bar.


STEPS ON HOW TO REPRODUCE:

  1. Set breakpoints on line 19 ('foreach') & line 52 ('OnAfterRender')
  2. Run on 'Debug' mode
  3. View 'Output from Menu - ASP.NET Core Web Sever' to see the 'foreach' iteration count
  4. Hit continue in debugger until 'foreach' iteration count = 3
  5. Hit continue to hit 'foreach' iteration count = 4
  6. IMMEDIATELY hover up and down Menu Items
  7. Return to debugger and 'Step Over' 
    1. It should crash after finishing 'OnAfterRender()'
    2. If not, it will hit the 'foreach' loop again

Please see the video for the reproduce steps.

I believe the error is occurring because Syncfusion is rendering the Menu Bar internally, but if a user hovers over any of the menu items before it is finished rendering internally, it will crash and throw the error. That is why if there are other components that need to be loaded in addition to the Menu Bar, there is a greater chance the Menu Bar will crash because it will take longer to render internally.

Attachment: Menu_Over_Hover_Error_73532f2c.zip


AS Aravinthan Seetharaman Syncfusion Team July 15, 2021 04:11 AM UTC

Hi Kenney, 
 
We have checked your query. We can reproduce your reported issue in our end. And we need to validate more on your issue and need to ensure multiple cases. So, we will update further details on 16th July 2021. We appreciate your patience until then. 
 
Regards, 
Aravinthan S 



KP Kenney Phan July 16, 2021 05:11 PM UTC

Thank you for the update Aravinthan.





GK Gayathri KarunaiAnandam Syncfusion Team July 19, 2021 04:14 AM UTC

Hi Kenny, 

We have validated your query. We would like to let you know that we have already fixed this issue in our latest v19.2.47. We have prepared a sample in latest version. 

Sample: https://www.syncfusion.com/downloads/support/forum/166118/ze/Menu-1633843846 
  
Please update your project to latest version and get back to us, if you need further assistance. 

Regards, 
Gayathri K  



KP Kenney Phan July 19, 2021 06:02 PM UTC

Hi Gayathri,


I have tested the issue in v19.2.47 and the error still persists in the sample project. I have attached a video demonstration and a list of steps to reproduce the error in v19.2.47.


STEPS TO REPRODUCE:

  1. Set breakpoints on line 19 ('foreach') & line 52 ('OnAfterRender')
  2. Run on 'Debug' mode
  3. View 'Output from Menu - ASP.NET Core Web Sever' to see the 'foreach' iteration count
  4. Hit continue in debugger until 'foreach' iteration count = 5 //changed from 3 -> 5
  5. Hit continue to hit 'foreach' iteration count = 6 //changed from 4 -> 6
  6. IMMEDIATELY hover up and down Menu Items
  7. Return to debugger and 'Step Over'
    1. It should crash after finishing 'OnAfterRender()'
    2. If not, it will hit the 'foreach' loop again


Thank you,

Kenney
Attachment: Menu_98bddf0.zip



AS Aravinthan Seetharaman Syncfusion Team July 21, 2021 04:01 AM UTC

 
We have checked your query. We have fixed your issue in our end and we have prepared custom Nuget package for this issue. Please find the Nuget link below. 
 
 
We suggest following below steps then upgrade our Syncfusion custom packages.  
 
·         Outdated custom scripts referred in the application.   
      
Also, could you please ensure the problem after clearing the browser/NuGet cache or run the application using incognito window of the browser.      

Could you please check your issue with this nuget package and let us know if you are still facing issue. So, that we will move this fix in our upcoming patch release.
 
 
Regards, 
Aravinthan S 



KP Kenney Phan July 21, 2021 07:55 PM UTC

Hi Aravinthan,


  • I have downloaded the custom Nuget package and placed it in:
    • "C:\Users\{UserName}\.nuget\packages\syncfusion.blazor\19.2.0.48" 
  • I deleted old Syncfusion Nuget packages from  "C:\Users\{UserName}\.nuget\packages\"
  • Deleted Browser Cache
  • Ran the application in incognito (as shown in the attached video)

But the issue is still occurring. Please check the attachment for the following pictures / videos of evidence for each step that I executed.

I attached (2) videos: 
  1. one video showing the error occurring in incognito with the latest custom Nuget package
  2. the other video shows the output for where in the foreach loop that the error occurs


Thank you



Attachment: MenuOverHover02_fa7a9733.zip


AS Aravinthan Seetharaman Syncfusion Team July 23, 2021 02:41 AM UTC

Hi Kenney, 
 
We have checked your query. We need to validate more cases on this issue and need to ensure multiple cases. So, we will update further details on 26th July 2021. We appreciate your patience until then. 
 
Regards, 
Aravinthan S 



KP Kenney Phan July 28, 2021 05:59 PM UTC

Hi Aravinthan,


Thank you for the update. Please let me know if there's anything else you require from me.





AS Aravinthan Seetharaman Syncfusion Team July 29, 2021 02:42 AM UTC

 
Thanks for the patience. 
 
We have validated your issue. And we have considered this as a bug report and fix for this issue will be available on 4th August 2021. We appreciate your patience until then. You can also track the status of this fix using below feedback portal link. 
 
 
Regards, 
Aravinthan S


KP Kenney Phan August 4, 2021 05:55 PM UTC

Hi Aravinthan,


Is there an update on this fix?


Thank you



AS Aravinthan Seetharaman Syncfusion Team August 5, 2021 12:21 PM UTC

Hi Kenney, 
 
Thanks for the patience. 
 
We are glad to announce that our weekly patch release (19.2.0.51) is rolled out. We have included the fix for your issue [Issue on Menu Hover in Debug mode] in this release. So, we suggest you upgrade our Syncfusion packages to our latest version to resolve this issue in your end. (19.2.0.51) 
 
Please find the latest Nuget from the below link. 
 
 
  
Please let us know, if you need further assistance. 
 
Regards, 
Aravinthan S 



KP Kenney Phan August 6, 2021 05:01 PM UTC

It works! Thank you very much!





AS Aravinthan Seetharaman Syncfusion Team August 7, 2021 02:16 PM UTC

Hi Kenney, 
 
Thanks for the update. 
 
We are happy to hear that your issue has been resolved. Please feel free to contact us if you need any further assistance on this. 
 
Regards, 
Aravinthan S

Loader.
Up arrow icon