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

multiple pop up open prevent scroll of body after press back button of browser #10501

Closed
vasu-aktivolabs opened this issue Feb 6, 2023 · 1 comment
Assignees

Comments

@vasu-aktivolabs
Copy link

vasu-aktivolabs commented Feb 6, 2023

What version of Tailwind CSS are you using?

version: ^3.1.5

What build tool (or framework if it abstracts the build tool) are you using?

version: postcss-cli ^8.4.14

What version of Node.js are you using?

version: v16.17.0

What browser are you using?

browser: Chrome

What operating system are you using?

system: ubuntu

Describe your issue

When we open one modal on any click event and on that opened modal if we open another modal and now when we press back button of browser it doesn't remove overflow:hidden property from html tag instead it should automatically close both modal and remove overflow:hidden property from html tag

@RobinMalfait RobinMalfait self-assigned this Feb 6, 2023
@RobinMalfait
Copy link
Member

Hey! Thank you for your bug report!
Much appreciated! 🙏

I'm assuming this issue was meant for the Headless UI repo. Please open an issue there with a minimal reproduction repo attached so that we can take a look.

That said, we don't support multiple dialogs open at the same time unless they are nested in each other.
Also make sure that you are on the latest version of Headless UI.

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