Maelstrom: Workaround for numeric keypad only showing once on iPad

From bdea0b09053cca72c0e56fc8a399cea822f0ad4b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 22 Apr 2026 23:35:57 -0700
Subject: [PATCH] Workaround for numeric keypad only showing once on iPad

---
 screenlib/SDL_FrameBuf.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/screenlib/SDL_FrameBuf.cpp b/screenlib/SDL_FrameBuf.cpp
index 5c099d20..bf1336c4 100644
--- a/screenlib/SDL_FrameBuf.cpp
+++ b/screenlib/SDL_FrameBuf.cpp
@@ -371,9 +371,11 @@ FrameBuf::EnableTextInput(int textfieldX, int textfieldY, int textfieldWidth, in
 	SDL_SetTextInputArea(m_window, &textrect, 0);
 
 	SDL_PropertiesID props = SDL_CreateProperties();
+#if 0 // Currently showing the numeric keypad on iPad triggers keyboardWillHide(), stopping text input
 	if (numeric) {
 		SDL_SetNumberProperty(props, SDL_PROP_TEXTINPUT_TYPE_NUMBER, SDL_TEXTINPUT_TYPE_NUMBER);
 	}
+#endif
 	SDL_SetBooleanProperty(props, SDL_PROP_TEXTINPUT_MULTILINE_BOOLEAN, false);
 	SDL_StartTextInputWithProperties(m_window, props);
 	SDL_DestroyProperties(props);