Replies: 2 comments
-
I don't know if this is what you want, but you can use final inheritedMediaQuery = MediaQuery.of(context);
return MediaQuery(
data: inheritedMediaQuery.copyWith(
// Ignore the inherited viewInsets.bottom
viewInsets: inheritedMediaQuery.viewInsets.copyWith(bottom: 0),
),
child: DraggableSheet(...),
); |
Beta Was this translation helpful? Give feedback.
0 replies
-
My solution was to set If you still want to get elements above the keyboard, you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm currently facing an issue with the DraggableSheet. Whenever the keyboard opens, the sheet partially moves up, despite my efforts to keep it in its original position.
I have tried the following solutions:
Wrapping the content in a SheetContentScaffold.
Avoid nesting the sheet within a Scaffold by using a Stack instead.
Despite these changes, the DraggableSheet still shifts its position when the keyboard opens.
Any guidance or suggestions would be greatly appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions