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

Warning when rendering Modal: Cannot update during an existing state transition #847

Closed
fvieira opened this issue Jan 23, 2020 · 4 comments · Fixed by #854
Closed

Warning when rendering Modal: Cannot update during an existing state transition #847

fvieira opened this issue Jan 23, 2020 · 4 comments · Fixed by #854
Labels
📱 Components components module-specific 🤷‍♂️ Needs info There is no enough info to resolve the issue

Comments

@fvieira
Copy link

fvieira commented Jan 23, 2020

🐛 Bug Report

Rendering a Modal throws a React warning: "Cannot update during an existing state transition".

To Reproduce

Render a modal (<Modal visible={true}></Modal>) while on development mode in Android (haven't tested iOS). Let me know if this is not enough, but it seems to do it for me.

UI Kitten and Eva version

Package Version
@eva-design/eva 4.4.0-beta.3
@ui-kitten/components 4.4.0-beta.3
@artyorsh
Copy link
Collaborator

Yes. Can you please provide the full code? I can't reproduce it in scope of our demo application

@artyorsh artyorsh added 🤷‍♂️ Needs info There is no enough info to resolve the issue 📱 Components components module-specific labels Jan 24, 2020
@fvieira
Copy link
Author

fvieira commented Jan 24, 2020

Sure, here you go:

https://github.com/MoscaDigital/reproducemodalwarning

Just clone, run yarn, install app with npm react-native run-android, open app, and touch the "Show modal" button.

@kallepyorala
Copy link

I have same problem in iOS. When I was using version 4.3.1 there was no error, it started to happen after I updated to 4.4.0-beta.3.

@artyorsh
Copy link
Collaborator

Thanks for the details. I prove it exists. We'll try get rid of it in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📱 Components components module-specific 🤷‍♂️ Needs info There is no enough info to resolve the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants