Cursor jumps to top of the screen when clicking on a bottom line

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      • In the editor, clicking between two lines that are on the bottom of the page will cause the cursor to jump to the first line of the editor.

      Environment

      • Google Chrome, both in normal and incognito window

      Steps to Reproduce

      1. Create a new page;
      2. Add lines to the page enough to scroll down the page;
      3. Putting the mouse directly between line "a" and "b" (as in the example), the mouse cursor is always a text carat, which is expected;
      4. Putting the mouse directly between line "v" and "w" (as in the example), the mouse cursor will be an arrow/pointer;
      5. If you click while the mouse cursor is an arrow, selection will jump to the first line of the document.
        It won't scroll to the top, it will just put the actual text cursor there.

      Notes

      • On the inspect window, we can see that the body of the page contains only the visible lines of the page on the browser.

      Expected Results

      • Clicking the mouse should leave the cursor where you've clicked.

      Actual Results

      • Cursor will move to the top of the page.

      Workaround

      N/A

        1. screenshot2.png
          screenshot2.png
          44 kB
        2. screenshot1.png
          screenshot1.png
          39 kB
        3. screenshot3.png
          screenshot3.png
          226 kB

            Assignee:
            Unassigned
            Reporter:
            Renata Bueno
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: