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

Firefox displays modal twice at certain widths #513

Open
mjewell opened this issue Dec 19, 2018 · 1 comment
Open

Firefox displays modal twice at certain widths #513

mjewell opened this issue Dec 19, 2018 · 1 comment

Comments

@mjewell
Copy link
Contributor

mjewell commented Dec 19, 2018

In Firefox 64.0 at certain widths the modal will render strangely when the isOpen prop is toggled to true. The weird second modal disappears when you click anywhere in the browser. Can be reproduced (regularly, but not completely consistently) by going to the storybook page for modals, setting the central display area to a width of 500px, and toggling the isOpen prop through the knobs panel.

image

@mjewell
Copy link
Contributor Author

mjewell commented Dec 19, 2018

Once it is reproduced, you can toggle this behaviour on/off by toggling this style:

.modal.show .modal-dialog {
    transform: translate(0);
}

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