Skip to content

Opt-in embed scrolling: plain wheel passes through, pinch still zooms #41

Open

Description

@calumk

Today

A board embedded in a scrolling page captures every wheel event for pan/pinch-zoom, with no way out short of readonly (which also kills all editing). Hosts embedding Quickdraw end up fighting the page for scroll ownership.

Proposal

An opt-in disablePanScroll flag (editor option + <Quickdraw> prop, live-switchable, default off so existing behavior is byte-identical):

  • plain wheel passes through to the page (no capture, camera untouched),
  • Ctrl/Meta+wheel still zooms the board (the browser would page-zoom without the capture),
  • pointer tools including hand drag-pan work either way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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