rn-sliding-up-panel
rn-sliding-up-panel copied to clipboard
Add onPositionChange() or onBackDropPress() Method
Issue Description
This is a feature request is directly related to https://github.com/octopitus/rn-sliding-up-panel/issues/96
When user taps on the backDrop, the slider is closed but no methods are triggered. There is a cumbersome workaround: https://github.com/octopitus/rn-sliding-up-panel/issues/96#issuecomment-468992157, but i think this should be a feature
Environment
- Version: V2.3.1
- React Native version: 0.59.9
- Platform(s) (iOS, Android, or both?): Both
Edit: Duplicate of #127
Seconded. Would be great if there was a callback whenever the background changed to a collapsed or open state.