From 48e6d12b73c25fb3883fd63f1c50a472ae3eb3c6 Mon Sep 17 00:00:00 2001 From: Gabriel Vogel Date: Sat, 29 Apr 2023 22:14:46 +0200 Subject: [PATCH] Fix VKeyboard missing with custom keyboard class (#7846) --- kivy/core/window/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/core/window/__init__.py b/kivy/core/window/__init__.py index 784a6d26c..ce0d0d772 100644 --- a/kivy/core/window/__init__.py +++ b/kivy/core/window/__init__.py @@ -667,7 +667,7 @@ class WindowBase(EventDispatcher): and self._vkeyboard_cls is not None ): for w in self.children: - if isinstance(w, VKeyboard): + if isinstance(w, self._vkeyboard_cls): vkeyboard_height = w.height * w.scale if self.softinput_mode == 'pan': return vkeyboard_height