wasm: fix native keyboard popup on iOS
misspelling of element property causing issue Fixes: QTBUG-106397 Change-Id: I8e8f6114bba6374381df4a1d9831ff36e3964658 Reviewed-by: David Skoland <david.skoland@qt.io> (cherry picked from commit 88fbbb422e277a5dd56ae9d0f2d961362be2145e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
bf00ecb41b
commit
b2c678292e
@ -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"];
|
||||
|
Loading…
x
Reference in New Issue
Block a user