Adjust picker size

This commit is contained in:
2025-08-07 11:55:16 +08:00
parent 87870af866
commit b9c4ee31b1
2 changed files with 58 additions and 34 deletions

View File

@@ -1141,8 +1141,15 @@ class _ChatInput extends HookConsumerWidget {
tooltip: 'stickers'.tr(),
icon: const Icon(Symbols.emoji_symbols),
onPressed: () {
final size = MediaQuery.of(context).size;
showStickerPickerPopover(
context,
Offset(
20,
size.height -
480 -
MediaQuery.of(context).padding.bottom,
),
onPick: (placeholder) {
// Insert placeholder at current cursor position
final text = messageController.text;