Lock action-pane intent for a continuous drag until neutral settle
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Reproduce by opening a slidable with both start and end panes, then dragging past one pane and reversing through neutral without releasing. Check PR #547, which already targets this fix, before starting. Done means the pane intent stays locked for the whole drag, overscroll past neutral shows only a resisted offset, and release animates back to neutral.
Written by the indexing model from the issue text.
Description
Summary
A continuous drag can currently switch from one action pane to the other after crossing back through neutral in the same interaction.
Repro
- Open a slidable with both start and end panes.
- Drag far enough to infer one pane.
- Without releasing, reverse direction past neutral.
Current behavior
The originally inferred pane can disappear and the opposite pane can become active mid-drag.
Expected behavior
Drawer intent should be inferred once for the interactive drag lifecycle, then stay locked until the user releases and the slidable settles back at neutral.
Dragging past neutral during that same interaction should only show a small resisted rubber-band offset, not activate the opposite pane.
If the user releases from that overscrolled state, the child should animate back to neutral rather than jump.
Here's an example of the desired behavior, as seen from the Apple Notes app:
- Dominant language
- Dart
- Stars
- 2.9k
- Forks
- 646
- Avg merge
- 5m
- Merged PRs (30d)
- 9
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from letsar/flutter_slidable
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
letsar/flutter_slidable#563 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
letsar/flutter_slidable#549 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
letsar/flutter_slidable#541 ·
Maintainers usually reply within 1 day
-
Example is not runnable on androidPossibly taken @akhil-ge0rge claimed this 350 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 18/100
letsar/flutter_slidable#540 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
letsar/flutter_slidable#535 ·
Maintainers usually reply within 1 day
All issues in letsar/flutter_slidable
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
lollipopkit/flutter_server_box#1851 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
fable-compiler/Fable#5252 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
chriskelly/wish-together#114 ·
Maintainers usually reply within 1 day
-
type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
mikejr83/rc-soar-score#724 ·
Maintainers usually reply within 1 day