[Question] Moving textfield upper than the keyboard on mobile platforms. #5102
-
QuestionHello. While I was developing my messenger, I found out that the textfield widget, located in the bottom app bar, don't move upper when keyboard has appeared. Code sampleimport flet as ft
class DialogView(ft.View):
def __init__(self, *args):
# a few additional lines here
self.bottom_appbar = ft.BottomAppBar(
ft.Container(
alignment=ft.alignment.bottom_center,
content=ft.Row([
ft.TextField(hint_text="Введите сообщение", expand=True),
ft.Container(content=ft.IconButton(ft.Icons.SEND))
]),
)
) Error messageNo response ------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
Answered by
themaximsuper
Mar 19, 2025
Replies: 1 comment
-
Ok, I solved my problem by moving my row from appbar to the view. It appears that app bar always overlap by keyboard. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
themaximsuper
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I solved my problem by moving my row from appbar to the view. It appears that app bar always overlap by keyboard.