Skip to content

Fastfocus disrupts scrolling on touch devices #130

@nino

Description

@nino

Hi!

When scrolling a website with ember-gestures on a touch device, the _fastFocus function will focus input elements that were accidentally touched in the attempt. As a result, the user has to be careful only to touch non-input elements when scrolling.

The current behavior is illustrated here:

fastfocus

(I prepared https://github.com/nino/minimal-gesture-demo as a minimal working example of the issue.)

The default browser behavior looks like this:

no-fastfocus

Is there a supported way to use ember-gestures without the fastfocus behavior? (The site I'm working on uses ember-gestures to recognize left/right swipes on one specific component, and doesn't really need any sort of fast-clicking/-focusing/etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions