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

Content--after-open has extra styles in Safari 14, It does not work properly because of this #959

Open
myas92 opened this issue Aug 5, 2022 · 0 comments

Comments

@myas92
Copy link

myas92 commented Aug 5, 2022

Summary:

Modal does not work correctly because there is a value for left, right, and bottom properties in Safari14, everything is correct in Safari 15

Steps to reproduce:

1: In the initial modal there is some value for the top, right, left, and bottom so the result is like the below photo

incorrect

2: when I remove the values from the right, left, and bottom my problem is solved
kindly

Expected behavior:

  • Why is everything okay in Safari 15 as seen in the photo below?

  • What is the best practice to solve this problem in Safari 14 and reach to the same result in every version of Safari?

final

@myas92 myas92 changed the title Content--after-open has extra style in Safari 14, It does not work properly because of this Content--after-open has extra styles in Safari 14, It does not work properly because of this Aug 5, 2022
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