-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Make SliderInteraction.slideOnly more consistent in its user feedback #165304
Copy link
Copy link
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: qualityA truly polished experienceA truly polished experiencec: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: qualityA truly polished experienceA truly polished experiencec: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Use case
If a Slider with
allowedInteraction: SliderInteraction.slideOnlyis 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.