You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried new feature #1945 , have some problems with SelectedItemChanged after updating Items provided to TreeViewItem
🐛 Bug Report
I'm generating some collection, with sub Items, providing this collection to TreeViewItem, tree works fine when I'm just navigating/collapsing/expanding/selecting - SelectedItemChanged event works.
When I'm moving sub item from one folder(parent item) to another, selecting item stop triggering SelectedItemChanged.
I've tried second way- after moving sub item tried to generate new collection, binded to TreeViewItem, SelectedItemChanged didn't work also.
💻 Repro or Code Sample
Make collection for Items providing, with sub item. After that make some changes in collection- move subitem between items, or make new collection with updated source. after that selection doens't trigger SelectedItemChanged.
🤔 Expected Behavior
I'm expecting that I can do update in Items provider collection and selection will work after that.
😯 Current Behavior
after updates in Items provider collection, selecting item doesn't triggered SelectedItemChanged.
💁 Possible Solution
maybe after Items provider update we can call some .Refresh() for FluentTreeView ref.
🔦 Context
In my case I'm using SelectedItemChanged to expose some details of selected tree item.
User have a dropdown with items sources selection so I need to have possibility to full update date source in Items.
Also when user can move items in tree.
🌍 Your Environment
OS & Device: Windows on PC
Browser Google Chrome
.NET and Fluent UI Blazor library Version 8.0.6 and 4.8.0
The text was updated successfully, but these errors were encountered:
Tried new feature #1945 , have some problems with SelectedItemChanged after updating Items provided to TreeViewItem
🐛 Bug Report
I'm generating some collection, with sub Items, providing this collection to TreeViewItem, tree works fine when I'm just navigating/collapsing/expanding/selecting - SelectedItemChanged event works.
When I'm moving sub item from one folder(parent item) to another, selecting item stop triggering SelectedItemChanged.
I've tried second way- after moving sub item tried to generate new collection, binded to TreeViewItem, SelectedItemChanged didn't work also.
💻 Repro or Code Sample
Make collection for Items providing, with sub item. After that make some changes in collection- move subitem between items, or make new collection with updated source. after that selection doens't trigger SelectedItemChanged.
🤔 Expected Behavior
I'm expecting that I can do update in Items provider collection and selection will work after that.
😯 Current Behavior
after updates in Items provider collection, selecting item doesn't triggered SelectedItemChanged.
💁 Possible Solution
maybe after Items provider update we can call some .Refresh() for FluentTreeView ref.
🔦 Context
In my case I'm using SelectedItemChanged to expose some details of selected tree item.
User have a dropdown with items sources selection so I need to have possibility to full update date source in Items.
Also when user can move items in tree.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: