ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.55k stars 123 forks source link

openAnimationConfig causes error #371

Closed Saliheen closed 3 months ago

Saliheen commented 5 months ago

using openAnimationConfig shows this error
_Invariant Violation: You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one, js engine: hermes

_

openAnimationConfig={{ mass:1 }}

Saliheen commented 5 months ago

After a thorough review of the code, I've encountered an issue regarding the definition of physical properties. Upon investigation, I've identified the root cause and resolved it.

Raised a PR. https://github.com/ammarahm-ed/react-native-actions-sheet/pull/372