mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
fix: location of popover wrt the cell (#1545)
This commit is contained in:
parent
681d9028e3
commit
f81d5eb23e
2 changed files with 10 additions and 10 deletions
|
|
@ -40,10 +40,7 @@ class GridChecklistCellState extends State<GridChecklistCell> {
|
||||||
alignment: AlignmentDirectional.center,
|
alignment: AlignmentDirectional.center,
|
||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
_wrapPopover(const ChecklistProgressBar()),
|
||||||
padding: GridSize.cellContentInsets,
|
|
||||||
child: _wrapPopover(const ChecklistProgressBar()),
|
|
||||||
),
|
|
||||||
InkWell(onTap: () => _popover.show()),
|
InkWell(onTap: () => _popover.show()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
@ -66,7 +63,10 @@ class GridChecklistCellState extends State<GridChecklistCell> {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
onClose: () => widget.onCellEditing.value = false,
|
onClose: () => widget.onCellEditing.value = false,
|
||||||
child: child,
|
child: Padding(
|
||||||
|
padding: GridSize.cellContentInsets,
|
||||||
|
child: child,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -168,10 +168,7 @@ class _SelectOptionWrapState extends State<SelectOptionWrap> {
|
||||||
alignment: AlignmentDirectional.center,
|
alignment: AlignmentDirectional.center,
|
||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
_wrapPopover(child),
|
||||||
padding: GridSize.cellContentInsets,
|
|
||||||
child: _wrapPopover(child),
|
|
||||||
),
|
|
||||||
InkWell(onTap: () => _popover.show()),
|
InkWell(onTap: () => _popover.show()),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
@ -196,7 +193,10 @@ class _SelectOptionWrapState extends State<SelectOptionWrap> {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
onClose: () => widget.onFocus?.call(false),
|
onClose: () => widget.onFocus?.call(false),
|
||||||
child: child,
|
child: Padding(
|
||||||
|
padding: GridSize.cellContentInsets,
|
||||||
|
child: child,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue