Skip to content

Cannot zoom on a ScrollView using the mouse/trackpad #705

Open
@jpnickolas

Description

@jpnickolas

If you have the following code snippet, you can change the zoomScale by manually updating zoom, but the user cannot pinch zoom using their trackpad.

<ScrollView
maximumZoomScale={MAX_ZOOM}
minimumZoomScale={MIN_ZOOM}
zoomScale={zoom}>
</ScrollView>

This is something that works on windows, and is hopefully as simple as setting allowsMagnification on NSScrollView.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions