-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
DataGrid with ComboBoxColumn Selection Issue #3982
Comments
@joru1407 may I ask you to provide a sample App via github Repro showing your issue? I don't see the issue on my side right now. Thanks and happy coding |
@timunie Attached you can find a simple App showing the Problem. If you just downgrade the NuGet Package of MahApps to 2.0.0 everything work's fine. Greetings, |
@joru1407 I got it, it's a bug in our default ComboBox style for the DataGrid column. |
Set IsSynchronizedWithCurrentItem to false by default.
@punker76 Wow, that was quick! Thank you very much, Joshua |
Describe the bug
DataGridComboBoxColumn's behave unexpected when using them in a DataGrid the MVVM way and scrolling around trough the rows of the DataGrid after MahApps Version 2.0.1. In the first X rows the first List Entry of the ComboBoxes get's randomly selected. This change also affects the MVVM Objects behind the DataGrid. If you scroll down and up a little bit, this wrong selection is appearing and diasappearing. WIth Version 2.0.1 everything ist working as expected.
Steps to reproduce
This Problem seems not to be related with any other code, Events or the MVVM Models itself. JUst replacing the MahApps Version with an older one solves the problem.
MahApps.Metro version: v2.1.0 or newer
Windows build number: Win10 2004
Visual Studio: 2019 16.8.2
Target Framework: .Net Core 3.1
The text was updated successfully, but these errors were encountered: