Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3
-
None
Description
There is an element that is created when the application is started through webassembly. Seems to be added on the textedit example and our own code.
This is the element:
<input type="text" style="position: absolute; left: 0px; top: 0px; opacity: 0; z-index: -2;">
What this seems to do is when the text cursor is placed this object will move to the text cursor location. Once the text cursor is out of the view, and you try to do an action (delete, paste or even entering text into the area) will cause this element to still move to the area that the text should be at. Which is now hidden by the scroll, so now the element will scroll the entire webpage down so that you can no longer see the webassembly.
On the text edit example, this is possible. However it is only briefly as ensureCursorVisible() is called. Scrolling the textEdit back so that the webpage will scroll back up.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-130635 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
606570,2 | wasm: move input element to screen element | dev | qt/qtbase | Status: NEW | 0 | 0 |