The Wayback Machine - https://web.archive.org/web/20201218190934/https://github.com/reactjs/react-modal/issues/764
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

When multiple modals are open ReactModal__Body--open class is not add to Body #764

Open
vincenzo-antolini-os opened this issue Jul 10, 2019 · 3 comments

Comments

@vincenzo-antolini-os
Copy link

@vincenzo-antolini-os vincenzo-antolini-os commented Jul 10, 2019

Very easy to reproduce.
When modals are nested, something fails in adding the class to the body.

@vincenzo-antolini-os vincenzo-antolini-os changed the title When multiple modals are open ReactModal__Body--open class is not present When multiple modals are open ReactModal__Body--open class is not add to Body Jul 10, 2019
@diasbruno
Copy link
Collaborator

@diasbruno diasbruno commented Jul 11, 2019

Hi @vincenzo-antolini-os, can you make a reproducible exaemple, please?

@anshulsahni
Copy link

@anshulsahni anshulsahni commented Aug 19, 2019

@vincenzo-antolini-os
Copy link
Author

@vincenzo-antolini-os vincenzo-antolini-os commented Aug 28, 2019

I'll try to make an example.
I changed UX to avoid problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.