Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Slow performance #3

Open
aligenc opened this issue May 3, 2018 · 2 comments
Open

Slow performance #3

aligenc opened this issue May 3, 2018 · 2 comments

Comments

@aligenc
Copy link

aligenc commented May 3, 2018

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

@JonCognioDigital
Copy link

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.

@iamadityaaz
Copy link

@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

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

No branches or pull requests

3 participants