lunahq / flutter-crisp

Flutter plugin for Crisp Chat
https://pub.dev/packages/crisp
MIT License
23 stars 42 forks source link

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

Open yoannpicquenot opened 3 years ago

yoannpicquenot commented 3 years ago

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:

IMG_66AD5AD5ADAC-1

yoannpicquenot commented 3 years ago

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.

f2acode commented 3 years ago

@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).

yoannpicquenot commented 3 years ago

Hi @f2acode,

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