Skip to content

Can’t draw anything without setting touch-action #2

Description

@chris-morgan

I just tried this out, cargo build --release --features http, and found input broken: I couldn’t draw anything with mouse, touch or pen.

Upon adding the CSS touch-action: none to the canvas, it worked properly in Chrome (though sadly that stops touch scrolling from working, and there’s currently no solution for this (!), per w3c/pointerevents#203). Firefox still wouldn’t draw with the pen, and drew spindly little lines with the mouse.

Windows 10, Surface Book.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions