rn-sliding-up-panel
rn-sliding-up-panel copied to clipboard
Expose more props to enhance effects?
Is there a chance to expose props like panResponder to allow more granular control over the momentum (bouncing) effect? Moreover, the bottom sheet does not seems to be able to snap back into its original place quickly if I want to close it.
The best way I can ever think about is passing animation configs to transitionTo function. Something like:
this._panel.transitionTo(0, {duration: 160, easing: Easing.bounce})
// same configs with `Animated.timing`
Additional 3rd param can be onComplete function.
Hi, I actually to wan't bounce effect too but I don't really understand your saying :/ Can someone give me an example (just a little code), thanks you !