jscottsmith / react-scroll-parallax

🔮 React hooks and components to create parallax scroll effects for banners, images or any other DOM elements.

Home Page:https://react-scroll-parallax.damnthat.tv/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `disabled` prop to `ParallaxProvider`

dan-cooke opened this issue · comments

I have seen a bit of buzz about disabling the Parallax on mobile - quite common.

Currently the only way to do this to create a proxy/wrapper component around this libraries Parallax component.

But it would be much more convenient to allow consumers to just disable this in one place, the ParallaxProvider

Agreed, see #183. Just a little behind working on this lately.