react-modal
react-modal copied to clipboard
Content--after-open has extra styles in Safari 14, It does not work properly because of this
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
2: when I remove the values from the right, left, and bottom my problem is solved
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?