Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130635

QAccessible will scroll the browser, making the webassembly window to be outside of the view

XMLWordPrintable

    • WebAssembly

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            jack_croasdale Jack Croasdale
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes