Cysharp / ObservableCollections

High performance observable collections and synchronized views, for WPF, Blazor, Unity.
MIT License
544 stars 43 forks source link

In WPF, Item selection changes isn't reflected in View #58

Closed hsytkm closed 1 month ago

hsytkm commented 1 month ago

Issue

When creating ISynchronizedView<T, TView> using ObservableList<T>.CreateView(), if type conversion is performed in the transform, changes to the selected item in View isn't reflected.

Demo

demo

Environment

Repository

OCSelectedItemWpfDemo - GitHub

zerodev1200 commented 1 month ago

https://github.com/runceel/ReactiveProperty/issues/487#issuecomment-2291369293_

I’m not sure if the cause is the same, but I have confirmed that reverting to v2.1.4 or removing the non-generic IList also resolves this issue, just like the one mentioned above.