I'm using react-infinite-viewer and having issue with getting zoom to work with scroll. I can manually zoom by changing the zoom prop. However, in the demo I can zoom using mouse scroll + ctrl. I tried setting useWheelScroll to true but that doesn't work.
Is there an example to use scroll zoom with react?
I'm using react-infinite-viewer and having issue with getting zoom to work with scroll. I can manually zoom by changing the
zoom
prop. However, in the demo I can zoom using mouse scroll + ctrl. I tried settinguseWheelScroll
totrue
but that doesn't work.Is there an example to use scroll zoom with react?