From b2c678292eeb1aa2bf2992272b11af930af57d9c Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Mon, 12 Sep 2022 09:12:45 +1000 Subject: [PATCH] wasm: fix native keyboard popup on iOS misspelling of element property causing issue Fixes: QTBUG-106397 Change-Id: I8e8f6114bba6374381df4a1d9831ff36e3964658 Reviewed-by: David Skoland (cherry picked from commit 88fbbb422e277a5dd56ae9d0f2d961362be2145e) Reviewed-by: Qt Cherry-pick Bot --- src/plugins/platforms/wasm/qwasminputcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wasm/qwasminputcontext.cpp b/src/plugins/platforms/wasm/qwasminputcontext.cpp index 9da0a9dc34a..94809a3b17f 100644 --- a/src/plugins/platforms/wasm/qwasminputcontext.cpp +++ b/src/plugins/platforms/wasm/qwasminputcontext.cpp @@ -48,7 +48,7 @@ QWasmInputContext::QWasmInputContext() m_inputElement = document.call("createElement", std::string("input")); m_inputElement.set("type", "text"); m_inputElement.set("style", "position:absolute;left:-1000px;top:-1000px"); // offscreen - m_inputElement.set("contentaediable","true"); + m_inputElement.set("contenteditable","true"); if (platform() == Platform::Android) { emscripten::val body = document["body"];