flutter-crisp icon indicating copy to clipboard operation
flutter-crisp copied to clipboard

Space allocated by keyboard does not shrink after keyboard dismissal (only in iOS)

Open yoannpicquenot opened this issue 4 years ago • 3 comments

Hi,

The space taken by the keyboard on iOS does not shrink after the keyboard was dismissed. (cf picture below) Is it an error with my code or with the plugin? I do not have the issue on Android devices.

Architectures:

  • Layout (custom component)
    • PageView
      • DashboardPage (custom component)
      • ChatPage (custom component)
      • AccountPage (custom component)
    • BottomNavigationBar
      • Dashboard button
      • Chat button
      • Account button

IMG_66AD5AD5ADAC-1

yoannpicquenot avatar Oct 08 '21 13:10 yoannpicquenot

I debugged the crisp integration. The issue comes from crisp itself. They set the height of chat div with JS. For some reason, the keyboard has not been dismissed yet, than the height of chat has already been set but with the same height.

yoannpicquenot avatar Oct 08 '21 14:10 yoannpicquenot

@yoannpicquenot I already faced this issue before, but unable to solve it, as you said, probably it's from Crisp itself, I'm gonna keep this issue open for anyone who knows more about it (or when we have time to look into it).

f2acode avatar Oct 09 '21 02:10 f2acode

Hi @f2acode,

I have contacted Crisp. They are "unable" to do anything since the problem comes from Safari browsers

yoannpicquenot avatar Oct 10 '21 10:10 yoannpicquenot