Editor: keyboard navigation is broken with large code blocks

XMLWordPrintable

      If you have a page with large code blocks and try to edit it, keyboard navigation is broken.

      Steps to reproduce:
      1. Create new page
      2. Fill 2-3 screen heights of random text
      3. Insert a code block
      4. Fill 2-3 screen heights of any text inside code block
      5. Add some more text at the end of the document. Less than a screen height (4-5 lines will do)
      6. Save & reopen for edit
      7. Hit PgDn (several times, if you inserted a lot of text)
      Result: when it reached the code block, cursor jumps much more than a screen height, all the way to the end of the document. It is a bug already, but it gets worse
      8. Hit PgUp
      Result: no matter what you do, you can not page back up to the top of the document. After each PgUp key press, screen jumps up one screen for a moment and rolls back to the very end of the document immediately.

      OS: Ubuntu 12.04
      Browser: Firefox 15.0.1

              Assignee:
              Unassigned
              Reporter:
              Aleksey Vorona
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: