File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ class ViewSection extends StatelessWidget {
4040 );
4141 }
4242
43- ReorderableColumn _reorderableColum (BuildContext context, ViewSectionState state) {
43+ ReorderableColumn _reorderableColum (
44+ BuildContext context, ViewSectionState state) {
4445 final children = state.views.map ((view) {
4546 return ViewSectionItem (
4647 key: ValueKey (view.id),
@@ -53,8 +54,11 @@ class ViewSection extends StatelessWidget {
5354 return ReorderableColumn (
5455 needsLongPressDraggable: false ,
5556 onReorder: (oldIndex, index) {
56- context.read <ViewSectionBloc >().add (ViewSectionEvent .moveView (oldIndex, index));
57+ context
58+ .read <ViewSectionBloc >()
59+ .add (ViewSectionEvent .moveView (oldIndex, index));
5760 },
61+ ignorePrimaryScrollController: true ,
5862 children: children,
5963 );
6064 }
You can’t perform that action at this time.
0 commit comments