Skip to content

Page is scrolled when i first time click on the canvas #295

@vikdet

Description

@vikdet

I am using several canvases on the screen. And when I click on the one, which is partially visible it is scrolled to the top of the window.
I have found that behavior because of if (event.type == "mousedown") { _canvas.focus();. Do you really need to set focus on every click? I suppose that browser will do it automatically does'n it?

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