Skip to content

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

@chris-morgan

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.

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