[PR #1596] [MERGED] RadzenTree - Fixed inserting to CurrentItems #2826

Closed
opened 2026-01-29 18:20:38 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1596
Author: @JustDunia
Created: 7/13/2024
Status: Merged
Merged: 7/15/2024
Merged by: @enchev

Base: masterHead: radzen-tree-current-items


📝 Commits (1)

  • a3242cc Fixed inserting to CurrentItems

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Radzen.Blazor/RadzenTreeItem.razor.cs (+1 -1)

📄 Description

Issue:
Impared keyboard navigation around RadzenTree
Description:
Description and code sample to reproduce bug provided in forum topic
Problem:
Children of expanded items where added with index relative to their parents, so when there where more ancestors, children where added with lower index than they should.
Solution:
Always assign index of newly added items relative to main tree.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1596 **Author:** [@JustDunia](https://github.com/JustDunia) **Created:** 7/13/2024 **Status:** ✅ Merged **Merged:** 7/15/2024 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `radzen-tree-current-items` --- ### 📝 Commits (1) - [`a3242cc`](https://github.com/radzenhq/radzen-blazor/commit/a3242ccd092399ac9a0a23171c93279ebcaac34b) Fixed inserting to CurrentItems ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenTreeItem.razor.cs` (+1 -1) </details> ### 📄 Description **Issue**: Impared keyboard navigation around RadzenTree **Description**: Description and code sample to reproduce bug provided in [forum topic](https://forum.radzen.com/t/radzentree-keyboard-navigation-issue/17760) **Problem**: Children of expanded items where added with index relative to their parents, so when there where more ancestors, children where added with lower index than they should. **Solution**: Always assign index of newly added items relative to main tree. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:20:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2826