wasm: fix native keyboard popup on iOS

misspelling of element property causing issue

Fixes: QTBUG-106397
Pick-to: 6.4 6.4.0
Change-Id: I8e8f6114bba6374381df4a1d9831ff36e3964658
Reviewed-by: David Skoland <david.skoland@qt.io>
This commit is contained in:
Lorn Potter 2022-09-12 09:12:45 +10:00
parent 40523b68c1
commit 88fbbb422e

View File

@ -48,7 +48,7 @@ QWasmInputContext::QWasmInputContext()
m_inputElement = document.call<emscripten::val>("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"];