Skip to content

short drag with zoom tool does not fire plotly_click #2598

@arlowhite

Description

@arlowhite

Sometimes, a user moves the mouse slightly during a click.
When the zoom tool is active, a short drag does not fire plotly_click, nor does zoom happen due to some minimum drag length for zoom. I've seen users frustrated by this behavior.
I think plotly_click should fire when there's a short drag under the min drag length.
The Pan tool seems to fire plotly_click for short drags.

This can be reproduced with the official demo: https://plot.ly/javascript/click-events/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions