awesome-reveal / react-awesome-reveal

React components to add reveal animations using the Intersection Observer API and CSS Animations.
https://react-awesome-reveal.morello.dev
MIT License
1.15k stars 43 forks source link

Forced style "textBaseStyles" in Reveal container component #205

Open NicoPante opened 8 months ago

NicoPante commented 8 months ago

I tried to make a fade to a text but it was coming out of my div, noticing that it didn't put me display flex I checked the code and i found this line in index.js:

(line 653) style: Object.assign({}, style, textBaseStyles),

it seems to override my custom style passed by "style" prop to Reveal component

i tried using version: 4.2.8