Skip to content

Diagonal scrolling with trackpad in react-infinite-viewer #75

Description

@emedd33

Wondering how one can create a diagonal scrolling with with react-infinite-viewer. I see from the main demo that when you swipe by using two fingers on a trackpad you are able to scroll diagonally.
This is nicely shown in the daybrush demo
https://daybrush.com/infinite-viewer/

However in all the sandbox examples using react-infinite-viewer I'm unable to swipe scroll diagonally. It either goes horizontally or vertically. Is this something that is missing in the react-infinite-viewer?

https://codesandbox.io/p/sandbox/demo-5sr1h?file=/src/Editor/Editor.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions