Skip to content

Commit d27f9eb

Browse files
committed
fix: unable to scroll down in multiple select options
1 parent c11904c commit d27f9eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_full_field_editor.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import 'package:appflowy/mobile/presentation/bottom_sheet/bottom_sheet.dart';
99
import 'package:appflowy/mobile/presentation/database/card/card_detail/widgets/widgets.dart';
1010
import 'package:appflowy/mobile/presentation/widgets/widgets.dart';
1111
import 'package:appflowy/plugins/base/drag_handler.dart';
12-
import 'package:appflowy/plugins/database/domain/field_service.dart';
1312
import 'package:appflowy/plugins/database/application/field/type_option/number_format_bloc.dart';
14-
import 'package:appflowy/plugins/database/widgets/field/type_option_editor/date/date_time_format.dart';
13+
import 'package:appflowy/plugins/database/domain/field_service.dart';
1514
import 'package:appflowy/plugins/database/widgets/cell_editor/extension.dart';
15+
import 'package:appflowy/plugins/database/widgets/field/type_option_editor/date/date_time_format.dart';
1616
import 'package:appflowy/util/field_type_extension.dart';
1717
import 'package:appflowy_backend/protobuf/flowy-database2/protobuf.dart';
1818
import 'package:collection/collection.dart';
@@ -863,6 +863,8 @@ class _SelectOptionListState extends State<_SelectOptionList> {
863863
return ListView(
864864
shrinkWrap: true,
865865
padding: EdgeInsets.zero,
866+
// disable the inner scroll physics, so the outer ListView can scroll
867+
physics: const NeverScrollableScrollPhysics(),
866868
children: widget.selectOptions
867869
.mapIndexed(
868870
(index, option) => _SelectOptionTile(

0 commit comments

Comments
 (0)