Skip to content

Commit cc0d408

Browse files
committed
fix: popover container
1 parent 84a7167 commit cc0d408

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/field_type_list.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'package:appflowy_popover/popover.dart';
12
import 'package:flowy_infra/image.dart';
23
import 'package:flowy_infra/theme.dart';
34
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
@@ -25,7 +26,7 @@ class FieldTypeList extends StatelessWidget with FlowyOverlayDelegate {
2526
fieldType: fieldType,
2627
onSelectField: (fieldType) {
2728
onSelectField(fieldType);
28-
FlowyOverlay.of(context).remove(FieldTypeList.identifier());
29+
PopoverContainerState.of(context).closeAll();
2930
},
3031
);
3132
}).toList();

0 commit comments

Comments
 (0)