trying to fix scrolling to correct positon when keyboard pops up

This commit is contained in:
kkoenig1@optonline.com
2021-08-26 17:26:28 -04:00
parent 36e048cde3
commit 8a1089538f
6 changed files with 122 additions and 50 deletions
+3 -1
View File
@@ -170,10 +170,12 @@ void TextEdit::onEvent(event_t event)
case EVT_KEY_BREAK(KEY_EXIT):
changeEnd();
FormField::onEvent(event);
#if defined(SOFTWARE_KEYBOARD)
Keyboard::hide();
#endif
FormField::onEvent(event);
setFocus(SET_FOCUS_DEFAULT, this);
break;
case EVT_KEY_LONG(KEY_ENTER):