All Versions
Latest Version
Avg Release Cycle
29 days
Latest Release
1384 days ago

Changelog History
Page 1

  • v8.6.6 Changes

    October 05, 2020
    • ๐Ÿ‘ Allow keyboard nudging in diagonal directions #388
    • Don't render selection addon if the crop is invalid #384
  • v8.6.5 Changes

    August 06, 2020

    ๐Ÿš€ 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

  • v8.6.4 Changes

    June 05, 2020
    • โœ‚ Remove code which was trying to detect invalid aspect crops. This was dangerous for percentage crops due to rounding %->pixel issues which made the crop hard to accurately validate and could cause infinite recursion. Now only crops which are missing a width or height are completed for you.
    • ๐Ÿ›  Removing this code also fixes an issue when setting a crop minWidth/minHeight
  • v8.6.3 Changes

    June 05, 2020

    ๐Ÿš‘ Do not use this version, it has been deprecated due to a critical bug introduced.

  • v8.6.2 Changes

    April 08, 2020
    • ๐Ÿ›  Fix resizing from an edge with aspect ratio percentage crop causing "Error: Maximum update depth exceeded." #347
    • ๐Ÿ›  Fix the darkened background of the crop flickering off when resizing through 0,0
  • v8.6.1 Changes

    March 30, 2020
    • Minor visual regression fix introduced in 8.6.0 when crop has 0,0 dimensions
  • v8.6.0 Changes

    March 30, 2020

    ๐Ÿ›  Fix #346 visual regression in 8.5.0 (background flicker) when crop size becomes 0

    ๐Ÿ›  Fix #345 dragging crop through 0,0 on mobile looses the crop and you have to start drawing again

    Potential fix for #324 where crop box can "reset" back to 0,0 position when touching an edge

    0๏ธโƒฃ #342 Add back 4 side cropping on mobile with a new strategy to keep the corner boxes the same size and hide the others, but invisibly have a wider surface to drag from (defaults to 24px):

    Screenshot 2020-03-30 at 4 20 16 PM

  • v8.5.0 Changes

    January 05, 2020
    • โœ‚ Remove black background on crop component as this causes transparent images with black fills to be invisible #330
  • v8.4.3 Changes

    January 05, 2020

    ๐Ÿ›  Fixes issue of crop being incorrectly determined as invalid if there is margin/padding applied to the image element (P.S you shouldn't be doing this anyway) but also hopefully fixes hard to replicate issue #324

    โž• Added event so that custom media (e.g. video) can inform the component when it's loaded so the component can render the initial crop #319 e.g.

      onLoadStart={e => {
        // You must inform ReactCrop when your media has loaded. Event('medialoaded', { bubbles: true }));
  • v8.4.2 Changes

    November 25, 2019
    • ๐Ÿ›  Non functional change. lib was accidentally not published in 8.4.0 and 8.4.1 which contains the .scss file. Fixes #323