Skip to content

Fix the modal example transition in Firefox #2163

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

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

skirtles-code
Copy link
Contributor

The enter transition doesn't work in Firefox:

https://vuejs.org/examples/#modal

It seems to be a result of using display: table.

I've switched to using display: flex instead. I've removed <div class="modal-wrapper"> too, as I believe that was only required for the display: table-cell. Vertical alignment is now being handled by the margin: auto.

@netlify
Copy link

netlify bot commented Jan 10, 2023

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit d14cf85
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/63bd82e330e8cd000944a870
😎 Deploy Preview https://deploy-preview-2163--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@NataliaTepluhina NataliaTepluhina merged commit 196e817 into vuejs:main Jan 11, 2023
Abdelaziz18003 referenced this pull request in vuejs-translations/docs-ar Jan 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants