Skip to content

onCropComplete is firing on window resize #309

Description

@gregg-cbs

Describe the bug
If you resize the window, onCropComplete fires.

To Reproduce
Steps to reproduce the behavior:

  1. Go to this codesandbox
  2. Put a console log in the the onCropComplete
  3. Resize the window
  4. Notice console logs with what seems like with no debounce

Expected behavior
Not expecting onCropComplete to fire on window resize.. i understand why this might be in place for responsive reasons. But if it is a required feature I would expect the window resize to be debounced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR-welcomehelp is welcomed for this issuegood first issueGood for newcomersreleasedThis issue/pull request has been released.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions