react-native-scl-alert icon indicating copy to clipboard operation
react-native-scl-alert copied to clipboard

Slow performance

Open aligenc opened this issue 6 years ago • 2 comments

I am using version 1.2.1. It takes long time to display alert on android when setting the show property true.

aligenc avatar May 03 '18 11:05 aligenc

Did you find an answer to this? I'd love to use this library as the alert is very pretty, but my first alert took over 10 seconds to display on Android.

JonCognioDigital avatar Oct 31 '18 23:10 JonCognioDigital

@aligenc @jon64digital i done it by changing

slideAnimationDuration: 250 to slideAnimationDuration: 0 inside static defaultProps = { children: null, show: false, cancellable: true, slideAnimationDuration: 0, overlayStyle: {} } in Project/node_modules/react-native-scl-alert/src/components/SCLAlert.js

iamadityaaz avatar Sep 04 '19 18:09 iamadityaaz