ReorderableListView will cause flutter_slidable error when long press to sort
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
The stack trace names SlidableScrollingBehavior and SlidableNotificationSender in the flutter_slidable package, and the trigger is a long press inside a ReorderableListView. Start by reproducing with a minimal list that has slidable items and a reorderable long press, then check where Scrollable.of() is called from the slidable scrolling behaviour's context. Done means the long-press reorder runs without the assertion, with a test that covers it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Flutter 3.7.6 • channel stable
flutter_slidable 2.0.0
1、Without long pressing the widget to sort, everything works fine
2、When sorting by long press, the following error occurs
======== Exception caught by widgets library =======================================================
The following assertion was thrown building SlidableNotificationSender(state: _SlidableNotificationSenderState#c9e0d):
Scrollable.of() was called with a context that does not contain a Scrollable widget.
No Scrollable widget ancestor could be found starting from the context that was passed to Scrollable.of(). This can happen because you are using a widget that looks for a Scrollable ancestor, but no such ancestor exists.
The context used was:
SlidableScrollingBehavior(dirty, state: _SlidableScrollingBehaviorState#00531)
- 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 351 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ự
-
check-relative-paths reports links to existing directories as missingCó thể đã có người làm @reidbaker-agent đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
google/skills_lint.dart#202 ·
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 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
a: tests c: proposal p: cupertino_ui p: material_ui package team-design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
flutter/flutter#195936 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bannzai/medicalarm#506 ·
Maintainer thường phản hồi trong vòng 1 ngày