mircea21S / RichCanvas

Infinite canvas with panning, zooming, scrolling and other customizable functions, designed for MVVM
MIT License
167 stars 17 forks source link

Problem with arrow keys #4

Open SepuWeb opened 2 years ago

SepuWeb commented 2 years ago

Hi, with an Image selected, if I press down, left, right or up keys, application freeze.

Can you check it?

Thank you.

mircea21S commented 2 years ago

Hi,

I've been checking this issue and it looks like it's a problem with the focus change when using arrow keys and specifically when trying to focus on the adorner that exists on the selected image or any other drawn object actually. I found a solution for the moment, but I will investigate further to see if I can find something better. Using this property KeyboardNavigation.DirectionalNavigation="Once" in MainWindow.xaml will fix the problem. I will push the fix in some days, but I am writing this comment in case you need this fix sooner.

Thank you for using the library and finding this issue.

SepuWeb commented 2 years ago

Ok it works! Thank you!