Skip to content

add command options for tap gestures similar to key and slash #1662

@jdiercks

Description

@jdiercks

In current code, the touchstart EventListener in editor_ui.tsx is hard-coded to map two-finger tap to Page Picker and three-finger tap to Command Palette.

I find this undesirable, because on both my iPad and my Android phone, I heavily use multitouch gestures for accessibility zoom features.

In older versions I hacked this by commenting out the touchstart EventListener, but that requires a custom rebuild on every update. I imagine it might be possible to accomplish similar with a Plug, but...

If the built-in command.update() API could be enhanced to add a parameter like "touches = 2" or similar, like the "key" parameter, then the 2/3-finger tap gestures could easily be disabled in CONFIG, or even re-assigned to other commands if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions