rnosov / react-reveal

Easily add reveal on scroll animations to your React app
https://www.react-reveal.com/
MIT License
2.73k stars 181 forks source link

React Reveal is altering the z-index #111

Open binoiii opened 3 years ago

binoiii commented 3 years ago

I have used react-reveal/fade in my product components and it works perfectly.

However, the product components has modal and it affects the z index of the modal.

modal-open-noissue modal-open-withissue modal-close

s7fantastic commented 3 years ago

hi binoiii go to global.css in your project and add this

.react-reveal{ animation-fill-mode: backwards !important; }

theodorebing commented 3 years ago

Thanks @s7fantastic, I had the same issue and it worked fine with this in my root styles file.

jado66 commented 2 years ago

Why hasn't this fix been implemented in the official release? @s7fantastic you are a life saver!

iampitrus commented 11 months ago

Life saver, It worked, thanks for this