Skip to content

Error when pan scatter with empty text #1328

Closed
@inDream

Description

@inDream

Change https://github.com/plotly/plotly.js/blob/master/src/components/drawing/index.js#L54
from if(isNumeric(x) && isNumeric(y)) { to if(isNumeric(x) && isNumeric(y) && sel.node()) {
solved this problem.

Demo: https://jsfiddle.net/indream/6L8nLgr1/

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