cosee / alphabet_list_view

Flutter package. A ListView with sticky headers and an iOS-like clickable sidebar.
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

When the keyboard pops up, the default scroll bar options do not expand, but are compressed by the keyboard #11

Closed fengwu913 closed 10 months ago

quoc-huynh-cosee commented 11 months ago

Hi @fengwu913 can you write your issue in English? Otherwise it is hard for us to understand you.

fengwu913 commented 10 months ago

hello @quoc-huynh-cosee ok, my issue is

When the keyboard pops up, the default scroll bar options do not expand, but are compressed by the keyboard

quoc-huynh-cosee commented 10 months ago

@fengwu913 We'll have a look into that.

TobiasWawrzinek commented 10 months ago

Hello @fengwu913,

this is the expected behavior. The body of Scaffold gets resized to avoid the keyboard. The AlphabetListView is simply another widget that resizes depending on its parent.

This behavior is the same as in Apples Contacts-App. Contacts App

If you wish to alter this behavior you could set Scaffolds resizeToAvoidBottomInset to false. AlphabetListView would then be displayed behind the keyboard. However, this would hide the entries at the bottom of the list behind the keyboard. resizeToAvoidBottomInset

quoc-huynh-cosee commented 10 months ago

I will close the issue. If you encounter any problems, feel free to reopen it.

fengwu913 commented 7 months ago

Hello @fengwu913,

this is the expected behavior. The of gets resized to avoid the keyboard. The is simply another widget that resizes depending on its parent.body``Scaffold``AlphabetListView

This behavior is the same as in Apples Contacts-App. Contacts App

If you wish to alter this behavior you could set s to . would then be displayed behind the keyboard. However, this would hide the entries at the bottom of the list behind the keyboard.Scaffold``resizeToAvoidBottomInset``false``AlphabetListView resizeToAvoidBottomInset

Okay, I'll give it a try. Thank you