diff --git a/src/lime/_internal/backend/html5/HTML5Window.hx b/src/lime/_internal/backend/html5/HTML5Window.hx index 293e50613..55ddbc061 100644 --- a/src/lime/_internal/backend/html5/HTML5Window.hx +++ b/src/lime/_internal/backend/html5/HTML5Window.hx @@ -1115,8 +1115,12 @@ class HTML5Window if (textInput == null) { textInput = cast Browser.document.createElement('input'); + #if lime_enable_html5_ime + textInput.type = 'text'; + #else // use password instead of text to avoid IME issues on Android textInput.type = 'password'; + #end textInput.style.position = 'absolute'; textInput.style.opacity = "0"; textInput.style.color = "transparent";