Expand behavior different between desktop and mobile

Hi,

My example you can find the playground: https://blazorplayground.syncfusion.com/VtrysZWXUKBoIaLm
I also attached a video.

In desktop mode, when I select a parent element it gets selected and the context menu close. This behavior I also want for mobile as well. But when I click here the parent item the item is selected but the context menu do not close.
Note sure if this is a bug or I need another implementation?

Thank for your help.

Best


Attachment: Kapture_20251010_at_10.23.48.mp4_a4e16a76.zip

3 Replies

SB Sven Boris Bornemann October 21, 2025 02:14 PM UTC

Hello,

Can anyone help please?



LD LeoLavanya Dhanaraj Syncfusion Team October 22, 2025 04:58 PM UTC

Hi Sven,


Greetings from Syncfusion support.


Based on the information you provided, we have validated the mentioned Dropdown Tree popup close case in both mobile and desktop mode. We were able to replicate the mentioned scenario on our and have classified the reported scenario regarding “Dropdown Tree popup does not close on mobile devices when clicking on the parent tree node” as a bug on our end. The fix for this issue will be included in the weekly patch release, which is expected to be rolled out during first week of November 2025.


You can track the status of the fix through the following feedback link.


https://www.syncfusion.com/feedback/70785/the-dropdown-tree-popup-does-not-close-on-mobile-devices-when-clicking-on-the


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Leo Lavanya Dhanaraj



PS Praveen Sellappan Syncfusion Team November 4, 2025 04:13 PM UTC

Hi Sven,

 

Dropdown Tree popup does not close on mobile devices when clicking on the parent tree node has been resolved in this release. To access this fix, we suggest you update the package to the latest version(31.2.5). We have also included the sample in the main version for your reference.

 

Root cause: The issue occurs because in the OnNodeExpanding method, the isCheckActionPrevent flag is being set to true. On mobile devices, when a user taps a parent node, it expands and this flag gets triggered. As a result, when OnNodeClicked runs, it exits early due to the flag, and the OnNodeSelected logic doesn’t execute. This prevents the popup from closing after selection, which is not the expected behavior in mobile mode.

 

Sample: https://blazorplayground.syncfusion.com/BZBIsiNfILdqByCA

 

Feedback :  https://www.syncfusion.com/feedback/70785/the-dropdown-tree-popup-does-not-close-on-mobile-devices-when-clicking-on-the

 

Release Notes: Essential Studio for Blazor Release Notes - v31.2.5

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you require any further assistance.

 

Regards,

Praveen Sellappan


Loader.
Up arrow icon