leon-good-life / coverflow-react

CoverFlow widget written in ReactJS
MIT License
16 stars 7 forks source link

Stop the scrolling via trackpad #2

Closed anshurathee closed 6 years ago

anshurathee commented 6 years ago

Is there a way, by which I can stop the scroll of the coverflow from trackpad. The problem is, I have added the coverflow below the header of my website. So now when I try to scroll down into the content, it scrolls the coverflow too. Thanks

anshurathee commented 6 years ago

Solved it via commenting // var _swipeReact = require('swipe-react'); // var _swipeReact2 = _interopRequireDefault(_swipeReact); // var _wheelReact = require('wheel-react'); // var _wheelReact2 = _interopRequireDefault(_wheelReact); and further dependencies of these variables, in coverflow-react>>CoverFlow>>Container>>Container.js

leon-good-life commented 6 years ago

Thanks Anshu