Skip to content

Error when using ReorderableListView inside ResponsiveScaledBox ( v1.1.1 and below) #163

@kiranvivo

Description

@kiranvivo

Hi,
Have you Noticed?
When you try to use the drag feature in the Flutter ReorderableListView, it throws

I/flutter (14425): I/flutter (14425): ===Firebase Crash ERROR Catcher======= I/flutter (14425): I/flutter (14425): , 'package:flutter/src/widgets/scrollable_helpers.dart': Failed assertion: line 238 pos 7: 'globalRect.size.width >= _dragTargetRelatedToScrollOrigin.size.width && scrollable_helpers.dart:238 I/flutter (14425): globalRect.size.height >= _dragTargetRelatedToScrollOrigin.size.height': Drag target size is larger than scrollable size, which may cause bouncing, #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61) I/flutter (14425): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5) I/flutter (14425): #2 EdgeDraggingAutoScroller._scroll scrollable_helpers.dart:238 I/flutter (14425): #3 EdgeDraggingAutoScroller.startAutoScrollIfNecessary scrollable_helpers.dart:223 I/flutter (14425): #4 SliverReorderableListState._dragUpdate.<anonymous closure> reorderable_list.dart:777 I/flutter (14425): #5 State.setState framework.dart:1138 I/flutter (14425): #6 SliverReorderableListState._dragUpdate ( I/flutter (14425): ----------------FIREBASE CRASHLYTICS---------------- I/flutter (14425): The following exception was thrown Bug at zoneguard catcher: I/flutter (14425): 'package:flutter/src/widgets/scrollable_helpers.dart': Failed assertion: line 238 pos 7: 'globalRect.size.width >= _dragTargetRelatedToScrollOrigin.size.width && scrollable_helpers.dart:238 I/flutter (14425): globalRect.size.height >= _dragTargetRelatedToScrollOrigin.size.height': Drag target size is larger than scrollable size, which may cause bouncing I/flutter (14425): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61) I/flutter (14425): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
Screenshot 2023-11-15 at 11 36 37 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions