Skip to content

Make SliderInteraction.slideOnly more consistent in its user feedback #165304

@pogojotz

Description

@pogojotz

Use case

If a Slider with allowedInteraction: SliderInteraction.slideOnly is dragged by its handle, the user feedback includes the activation animation (elevation shadow + overlay). If a user taps on the track, there is no visual indication at all, that the Slider is interacted with, until the user starts dragging and sees the Slider move.

Proposal

We find this behavior inconsistent and suggest to drive the same activation animation, once the track is tapped and a dragging would move the handle.
Looking at the code this would even simplify things and remove a bit of the special treatment of slideOnly. I will prepare a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: qualityA truly polished experiencec: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions