Keyboard display Large and Small

SS NOTE 9, Android v.10
Keyboard error. Sometime Big, sometimes Small as the photo attached.
Please fix it, or tell me how to fix it.
Thank you