Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RadzenSplitter with lots of content freezes #1506

Closed
iotalambda opened this issue May 15, 2024 · 0 comments
Closed

RadzenSplitter with lots of content freezes #1506

iotalambda opened this issue May 15, 2024 · 0 comments

Comments

@iotalambda
Copy link

Describe the bug
Since 4.27.0 RadzenSplitter freezes when there's certain complex content on the panes.

To Reproduce
Steps to reproduce the behavior:

  1. install 4.27.0 or later
  2. create a page:
@page "/"

<div style="width: 800px; height: 600px">
    <RadzenSplitter>
        <RadzenSplitterPane Style="background: red">
            <RadzenDataGrid TItem=@Item Data=[] Count=0 AllowFiltering>
                <Columns>
                    @for (var i = 0; i < 100; i++)
                    {
                        <RadzenDataGridColumn TItem=@Item Property=@nameof(Item.Property) Title="Property" />
                    }
                </Columns>
            </RadzenDataGrid>
        </RadzenSplitterPane>
        <RadzenSplitterPane Style="background: green">
            <RadzenDataGrid TItem=@Item Data=[] Count=0 AllowFiltering>
                <Columns>
                    @for (var i = 0; i < 100; i++)
                    {
                        <RadzenDataGridColumn TItem=@Item Property=@nameof(Item.Property) Title="Property" />
                    }
                </Columns>
            </RadzenDataGrid>
        </RadzenSplitterPane>
    </RadzenSplitter>
</div>

@code {
    class Item
    {
        public string Property { get; set; }
    }
}
  1. Move the splitter couple of times -> it will freeze and memory keeps getting allocated more and more

Expected behavior
Do the same using 4.26.1 -> everything works smoothly.

Desktop (please complete the following information):

  • Browser: Firefox, Edge, Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants