react-modal icon indicating copy to clipboard operation
react-modal copied to clipboard

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

Open myas92 opened this issue 1 year ago • 0 comments

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 avatar Aug 05 '22 19:08 myas92