react-image-crop v8.4.3 Release Notes

Release Date: 2020-01-05 // over 4 years ago

    🛠 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.

    <video
      onLoadStart={e => {
        // You must inform ReactCrop when your media has loaded.
        e.target.dispatchEvent(new Event('medialoaded', { bubbles: true }));
      }}