Dismissable doesn't dismiss to the right edge #174
Copy link
Copy link
Closed
Labels
frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Issue by Hixie
Friday Sep 25, 2015 at 20:08 GMT
Originally opened as https://github.com/flutter/engine/issues/1349
If you dismiss an item, it fades to 0 opacity by the time it goes about a third of the way across the screen. It should slide all the way across.
This is particularly obvious if you comment out the FadeTransition (or set its range to 1.0..0.5, to fix bug #824) and try to slide a card in card_collection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Activity
Hixie commentedon Dec 17, 2015
Looks like it's dismissing up to where the text label ends.
Hixie commentedon Dec 17, 2015
Oh, never mind, I see this is just hard-coded to 0.4.
Hixie commentedon Dec 17, 2015
But we still need it to automatically dismiss if you drag it mostly off screen and then let go without flinging.
Hixie commentedon Dec 17, 2015
Also, maybe the opacity part should be configurable... maybe a transition builder callback that you hand the child and the performance and it wraps the row in a fade transition or whatever. Or maybe it's a method you override in each widget library.
github-actions commentedon Aug 17, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.