in kivy it is solved this way:

from kivy.core.window import Window Window.softinput_mode = ‘below_target’ ``