Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freeze #32

Open
jjhesk opened this issue Mar 17, 2017 · 3 comments
Open

freeze #32

jjhesk opened this issue Mar 17, 2017 · 3 comments

Comments

@jjhesk
Copy link

jjhesk commented Mar 17, 2017

Finally it is confirmed that the dialog pop will freeze the whole screen when the code is used. I tried to take out this part and it becomes normal. I have also done the code refreshing and recompiling. const scanscale = new ScaleAnimation(); is not working.

RN 0.42
"react-native-popup-dialog": "^0.7.22",

The app freeze on iOS 10.2 when dialog pop module is used. here is the code:


import PopupDialog, {DialogTitle, DialogButton, ScaleAnimation} from 'react-native-popup-dialog';
const scanscale = new ScaleAnimation();

 <PopupDialog
                    width={200}
                    height={350}
                    dialogAnimation={scanscale}
                    ref={(instance) => {this.dialogControl=instance}}
                    closeOnTouchOutside={false}
                    dismissOnTouchOutside={false}
                ></PopupDialog>

expected behavior:
pop up the box as normal.

@jacklam718
Copy link
Owner

jacklam718 commented Mar 17, 2017

@jjhesk freeze the whole screen? i haven't encountered this problem. Did you tried this component with Exponent? If so is it has the freeze the whole screen issue?

What platform you tried? IOS/Android?

@jjhesk
Copy link
Author

jjhesk commented Apr 27, 2017

@jacklam718 i resolved to remove the scaleanimation as a whole and it totally resolved the issue.

@jacklam718
Copy link
Owner

@jjhesk But did you tried the component on Exponent? Because want to figure out is the issue occurred by the component or specific platform. I tried the component on Exponent with IOS & Android and it's working properly.

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

No branches or pull requests

2 participants