1000ship / react-scroll-motion

🎞 Easy to make scroll animation
https://1000ship.github.io/react-scroll-motion
MIT License
422 stars 47 forks source link

Allow ScrollContainer, ScrollPage, Animator accepts className #20

Open tofmat opened 2 years ago

tofmat commented 2 years ago

Hi!, I was going to use a fullWidth content inside the ScrollPage, but when I used it, it added some unnecessary spaces by the left and right. This can be solved, or those components can be allowed to accept class names so we can override whatever style you have put to make it centered.

leeprobert commented 2 years ago

+1 - it seems impossible to set overflow: visible on the divs that are created from ScrollPage ... or am I missing something?

orianabreu commented 2 years ago

Hi! Animator container does not seem to accept either className or style properties and I would like to apply 100vw to the div. It should be customizable :)

1000ship commented 2 years ago

I'll take note it. Didn't think about className