react-image-crop icon indicating copy to clipboard operation
react-image-crop copied to clipboard

Cmd nudging blocks all other keyboard shortcuts

Open mskelton opened this issue 2 years ago • 1 comments

When focusing the crop selection and using cmd+arrow to nudge by 100px, the crop area will become stuck such that when you attempt to tab out of the component it will not work and will continue to nudge the crop. My assumption is that it's related to stale state in the keysDown set. This also results in all keyboard shortcuts failing for the page except ones controlled by the browser.

mskelton avatar Aug 01 '22 20:08 mskelton

Just realized I actually was the one who introduced the behavior that broke this 🙂

https://github.com/DominicTobias/react-image-crop/pull/388

mskelton avatar Aug 02 '22 19:08 mskelton