Keep the reaction picker above the system navigation bar
Open the emoji picker through showMeshSheet, which pads the sheet by the navigation bar or keyboard, instead of a bare modal bottom sheet.
This commit is contained in:
1 parent
92b147bd49
commit
918ab7f5a0
3 files changed
+5
-11
No files matched your search
@@ -210,12 +210,8 @@ class EmojiPicker extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = context.l10n;
|
||||
final emojiCategories = _emojiCategories(l10n);
|
||||
return Container(
|
||||
return SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.5,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
borderRadius: const BorderRadius.vertical(top: Radius.circular(20)),
|
||||
),
|
||||
child: Column(
|
||||
children: [
|
||||
Padding(
|
||||
|
||||
Reference in new issue
Block a user