sbaeumlisberger / VirtualizingWrapPanel

Implementation of a comprehensive VirtualisingWrapPanel for WPF
MIT License
254 stars 35 forks source link

Freeze when trying to moving up and down with keyboard keys #29

Closed alo00 closed 2 years ago

alo00 commented 2 years ago

When tiles are bigger than WrapPanel size, trying to use keyboard down arrow to move to next row will freeze the app.

This can be easily reproduced with your sample app.

I noticed in my app there is a loop constantly calling ScrollViewer.ScrollChanged event with a vertical shift of +200, -200, +200, -200....

Regards

image

Package Version 1.5 -> 1.5.6 .NET Version: netcoreapp3.1 (Your sample application) OS Version: Windows 10

sbaeumlisberger commented 2 years ago

Thanks for reporting this issue. I was able to reproduce the problem and I am working on a solution.

sbaeumlisberger commented 2 years ago

Bug is fixed and I have published a updated nuget package. The sample application will also be updated soon.

alo00 commented 2 years ago

Thank's a lot, working perfectly! :-)