SlidableController.dispatchEndGesture() reports wrong direction for StillGesture
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start in SlidableController.dispatchEndGesture(), which receives the direction from _SlidableGestureDetectorState.handleDragEnd() and ignores which pane is being dragged. Then check how _ActionPaneState.handleEndGestureChanged() picks closeThreshold or openThreshold for a StillGesture. Done means a still gesture on endActionPane opening to the left reports closing as false and uses openThreshold, with a test covering that case.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
For StillGesture events SlidableController.dispatchEndGesture() uses the 'direction' parameter passed to it by _SlidableGestureDetectorState.handleDragEnd() without taking into account which pane is being dragged. When dragging 'endActionPane' to the left to open it SlidableController.dispatchEndGesture() would generate a StillGesture with 'closing' set to true which is incorrect. As a result '_ActionPaneState.handleEndGestureChanged()' would use 'closeThreshold' instead of 'openThreshold'.
- Ngôn ngữ chính
- Dart
- Star
- 2.9k
- Fork
- 646
- Merge trung bình
- 5 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của letsar/flutter_slidable
-
Broken links in the docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
letsar/flutter_slidable#563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
letsar/flutter_slidable#549 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Lock action-pane intent for a continuous drag until neutral settleCó thể đã có người làm @lukemmtt đã nhận 194 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
letsar/flutter_slidable#546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
letsar/flutter_slidable#541 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Example is not runnable on androidCó thể đã có người làm @akhil-ge0rge đã nhận 350 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 18/100
letsar/flutter_slidable#540 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của letsar/flutter_slidable
Issue tương tự
-
[CarouselView] Crash (RangeError / ArgumentError) when children or itemCount is empty with infinite: true or CarouselController.animateToItemCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởp: material_ui package platform-android platform-ios platform-linux platform-macos platform-web team-design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
flutter/flutter#195878 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[genkit_google_genai] Gemini tool call with no arguments fails with "requires a non-null input"Có thể đã có người làm @kenzieschmoll đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
genkit-ai/genkit-dart#692 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
lollipopkit/flutter_server_box#1851 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày