Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8188

Cursor Jumps on New Topic in IE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.5
    • 3.0.4
    • Posting
    • None
    • PHP Environment: 5.2.6
      Database: 5.0.67-community

      If the New Topic page is not displayed "quickly", the Internet Explorer user moves the cursor to the Subject field, starts typing and then the cursor moves to the Body, before the user has finished typing the Subject. This problem has also been verified as occurring on the phpBB software running on phpbb.com. From http://www.phpbb.com/community/viewtopic.php?f=46&t=1461905 "After hitting the NEW TOPIC button, I hit Refresh a couple of times until the page stalled with everything blank below the Subject (i.e. - no Body). I clicked the mouse to bring the cursor up to the Subject. And the cursor stayed there until the last Smilie was displayed. Then it moved into the Body box."

      A workaround is to delete the following code from styles/prosilver/template/editor.js
      /**

      • var textarea = doc.forms[form_name].elements[text_name];
        *
      • if (is_ie && typeof(baseHeight) != 'number')
      • {
      • textarea.focus();
      • baseHeight = doc.selection.createRange().duplicate().boundingHeight;
        *
      • if (!document.forms[form_name])
      • { * document.body.focus(); * }
      • }
        */

      We received a large number of complaints from users about this problem when Version 3 was recently installed on a web host with regular periods of slow response time. Complaints dropped when we moved to a faster host. We are currently running the workaround and have not had any problems reported since.

            TerraFrost TerraFrost
            adiant adiant [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: