fix: drawer fix

This commit is contained in:
gosangam
2026-06-10 20:02:23 +05:30
parent 3903423d06
commit 4b159cb4d9
3 changed files with 13 additions and 1 deletions
+5
View File
@@ -100,6 +100,11 @@ export function MentionsDrawer({
<Drawer
open={open}
direction={direction}
// Let the browser handle the on-screen keyboard. vaul's default
// input-repositioning resizes/translates the sheet and gets stuck on
// iOS (stays enlarged after blur, drags dismiss it). The add-field sits
// at the top of the scrollable body, so it stays visible without it.
repositionInputs={false}
onOpenChange={(o) => {
if (!o) onClose();
}}
+3
View File
@@ -133,6 +133,9 @@ export function UserListDrawer({
<Drawer
open={open}
direction={direction}
// Browser-native keyboard handling — vaul's input repositioning gets
// stuck on iOS for the search field.
repositionInputs={false}
onOpenChange={(o) => {
if (!o) onClose();
}}