Skip to content

Button presses have move threshold #10241

@Timmmm

Description

@Timmmm

In the latest version of Flutter the behaviour of button presses is wrong. Sometimes taps are missed because there is a move threshold - pressing, moving then releasing your finger on a button does not result in a click.

That must be deliberate, and I guess someone thought it was the correct behaviour but it's not. The threshold is only a couple of mm too, so it's quite common for taps to be missed.

Native Android apps have a better behaviour - they only cancel the click if your finger is moved off the hit area for the button. If you keep your finger on the button it will send a click even no matter how far you move it. This is much nicer to use.

I've made a video showing the difference (not sure why the mouse cursor is offset - ignore that).

flutter_button_behaviour.zip

[√] Flutter (on Microsoft Windows [Version 10.0.15063], channel alpha)
    • Framework revision dc4ca8db83 (10 days ago), 2017-05-11 15:33:29 -0700
    • Engine revision f99d3ef108
    • Tools Dart version 1.23.0-dev.11.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: fidelityMatching the OEM platforms betterplatform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions