mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: popover container
This commit is contained in:
parent
84a71674f6
commit
cc0d408775
@ -1,3 +1,4 @@
|
||||
import 'package:appflowy_popover/popover.dart';
|
||||
import 'package:flowy_infra/image.dart';
|
||||
import 'package:flowy_infra/theme.dart';
|
||||
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
|
||||
@ -25,7 +26,7 @@ class FieldTypeList extends StatelessWidget with FlowyOverlayDelegate {
|
||||
fieldType: fieldType,
|
||||
onSelectField: (fieldType) {
|
||||
onSelectField(fieldType);
|
||||
FlowyOverlay.of(context).remove(FieldTypeList.identifier());
|
||||
PopoverContainerState.of(context).closeAll();
|
||||
},
|
||||
);
|
||||
}).toList();
|
||||
|
Loading…
Reference in New Issue
Block a user