The DropDownTree cannot pop select tree area after update to 25.1.35

The following code is normal for version 24.x.x, but the selection tree will not pop up after upgrading to version 25.1.35


<div style="margin-bottom:8px">
    <SfDropDownTree TItem="EmployeeData" TValue="long" Placeholder="Select an employee" Width="500px" @bind-Value="SelectedValueDropDownTree">
        <DropDownTreeField TItem="EmployeeData" DataSource="Data" Id="Id" Text="Name" HasChildren="HasChild" ParentID="PId"></DropDownTreeField>
    </SfDropDownTree>
</div>


@code {
    List<long> SelectedValueDropDownTree { get; set; }
    List<EmployeeData> Data { get; set; }
    public class EmployeeData
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public bool HasChild { get; set; }
        public bool Expanded { get; set; }
        public string PId { get; set; }
    }


    protected override Task OnInitializedAsync()
    {
        Data = new List<EmployeeData>
        {
            new EmployeeData() {Id=1, Name ="Dorotha Detten", HasChild=true, Expanded=true},
            new EmployeeData() {Id=2, PId = "1",Name ="Merilyn Borsh", HasChild=true, Expanded=true},
            new EmployeeData() {Id=3, PId = "2",Name ="Porsche Kral", HasChild=true, Expanded=true},
            new EmployeeData() {Id=4, Name ="Danita Pilant" },
            new EmployeeData() {Id=5, Name ="Florence Gruver"},
        };
        SelectedValueDropDownTree = new List<long>() { 4 };
        return base.OnInitializedAsync();
    }

    private void DropDownTreeValueChanged(List<long> args)
    {
        // Here, you can customize your code.
    }
}



Attachment: BlazorApp6_37aa8f93.zip


2 Replies

PM Prasanth Madhaiyan Syncfusion Team March 19, 2024 09:09 AM UTC

Hi Thomas,


Greetings from Syncfusion support.


Based on the shared sample, when we ran the shared Blazor Dropdown Tree sample and checked it at our end, the Dropdown Tree popup opened without any issues.


For your reference, we have attached the sample and screenshot.


Sample: Attached as a zip file.


Screenshot:



Please review the attached sample. If we misunderstood the scenario you mentioned in the Blazor Dropdown Tree component, could you please provide more details along with video footage for better understanding? Based on that, we will investigate and provide you with a prompt solution. Kindly get back to us with the requested details.


Regards,

Prasanth Madhaiyan.


Attachment: BlazorDDTSample_b87ac080.zip


TL Thomas Leung replied to Prasanth Madhaiyan March 20, 2024 10:26 AM UTC

Dear Prasanth,


I switched to a different development machine and both the example code you submitted and mine are working fine, I'm sure it's not the DropDownTree causing this, but some other unknown cause. 


The development machine I had the problem on, resetting chrome to default settings worked fine!


Tested several browsers: edge, chrome, found that as long as the version: 24.x has run the DropDownTree component, you must reset restore  browser settings to their default values to run the normal 25.1.35 version of the DropDownTree, in the browser to delete the site's cache temporary data does not solve the problem!


Thanks!


Loader.
Up arrow icon