Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow early exiting for onResizeStart #494

Closed
Samuel-Lewis opened this issue Aug 1, 2019 · 0 comments
Closed

Feature request: Allow early exiting for onResizeStart #494

Samuel-Lewis opened this issue Aug 1, 2019 · 0 comments

Comments

@Samuel-Lewis
Copy link
Contributor

Currently, when onResizeStart is called, the user provided onResizeStart (from props) is also called. In certain scenarios, however, some condition may be hit where the user wants to abort the resize.

The feature request would be to allow the user to return a boolean from their defined onResizeStart, and if it returns false, the re-resizable's onResizeStart would have an early exit and not cause any resizing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant