Overview

The pinch to zoom pattern is supported by Figma and most of the page builders. This is something that at least I'm accustomed to using when working on a laptop.

Proposed resolution

Allow zooming the canvas by pinching on touchpad.

User interface changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lauriii created an issue. See original summary.

lauriii’s picture

Title: Allow zooming the canvas by pinching on touchpad » Allow zooming the canvas by pinching on a touchpad
Parent issue: » #3450592: [META] Front-end Kanban issue tracker
lauriii’s picture

lauriii’s picture

Category: Task » Bug report

Pinching sort of works now that #3463307: Implement simplified zoom interface was committed. There's still some problems where occasionally the pinch is actually captured by the browsers, leading into the whole app zooming in. I wonder if #3469673: Keyboard commands to zoom in and out should only impact the preview canvas would address this?

lauriii’s picture

gauravvvv made their first commit to this issue’s fork.

gauravvvv’s picture

Assigned: Unassigned » gauravvvv

gauravvvv’s picture

Assigned: gauravvvv » Unassigned
Status: Active » Needs review
jessebaker’s picture

Status: Needs review » Needs work

Hi @gauravvvv I gave this a quick test but I can't seem to determine what difference is made by the addition of this code? Can you give a short summary of what the code is intended to do?

As @lauriii mentioned, it is already possible to zoom with a pinch gesture (although there are bugs).

jessebaker’s picture

Version: » 0.x-dev
Status: Needs work » Closed (outdated)