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

On iOS, the app freezes when I use modal #257

Open
InKyoJeong opened this issue Apr 28, 2023 · 0 comments
Open

On iOS, the app freezes when I use modal #257

InKyoJeong opened this issue Apr 28, 2023 · 0 comments

Comments

@InKyoJeong
Copy link

InKyoJeong commented Apr 28, 2023

Hi, There is one issue.
In my app, If I click on the marker the map moves to that location and shows the modal.
But if I use modals together like this, there's an issue that the app freezes.
When I close the modal, it opens again and the app freezes.

modal.mp4

I think it's because of the conflict between Layout Animation and Modal animation.
I solved it by removing the code below. Is there a better solution?

// ClusteredMapView.js (onRegionChangeComplete)

 if (animationEnabled && Platform.OS === "ios") {
      LayoutAnimation.configureNext(layoutAnimationConf);   
 }

I saw the issue of react-native GitHub, and there were the same issues.

facebook/react-native#33733
facebook/react-native#34018
facebook/react-native#32504

But there seems to be no clear solution.

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

1 participant