Skip to content

Touch events prevent default behavior such as scrolling #19

@Dzhyrma

Description

@Dzhyrma

I am using elm 0.19 and library version 3.1.0. I've assigned touch event on a sidebar to figure out when a left swipe occurs, but I've realized that scrolling is no longer working (only on mobile devices).

Right now I am using this:
Touch.onWithOptions "touchstart" { stopPropagation = False, preventDefault = False }
instead of:
Touch.onStart
to fix the problem. I think the default behavior shouldn't prevent default touch actions

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