Skip to content

fix disable dragging #2

@dzanis

Description

@dzanis

// FIXME this shouldn't be needed but we go a few px off bottom of screen, which enables drag

For disable dragging you can add {passive: false} as the third argument to addEventListener

  document.addEventListener('touchmove', function(event) {
    event.preventDefault();
  },{passive: false});

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