npm react-image-crop 8.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

latest release: 8.6.6
2 months ago