react-image-crop v8.6.6 Release Notes

Release Date: 2020-10-05 // almost 3 years ago
    • ๐Ÿ‘ Allow keyboard nudging in diagonal directions #388
    • Don't render selection addon if the crop is invalid #384

Previous changes from v8.6.5

  • ๐Ÿš€ This release address three accessibility issues:

    • โœ‚ Removes the tabIndex on the crop selection div in favor of the tabIndex on the root div. Apps can style the focus border as needed to provide a visual indicator that the cropper is selected.
    • ๐Ÿ‘ Increases the nudge step to 1px and the large nudge step to 10px to match better with other crop experiences.
    • ๐Ÿšš Renames nudgeStepLarge to nudgeStepMedium to allow adding a new variable for nudging with the cmd/ctrl key. When using the cmd/ctrl key nudge it will move the crop selection by 100px. This handles the keybindings based on the current platform so if mac is detected the cmd key will be used otherwise the ctrl key will be used.

    Credits to @mskelton