Bug ID: 61938
           Summary: Improve automatic scrolling on preview (can push
                    buttons out of sight)
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Flow
       Web browser: ---
   Mobile Platform: ---

When pressing the preview button there seems to be some sort of automatic
detection that decides whether to
a) jump to the first line of the posts preview to bring it in sight or
b) don't jump when the preview is already in sight to prevent
   the page "jumping around" for small posts with only little text.

However this detection does not seem to take the input field and the buttons
into account.

Therefore it can happen that by pressing preview the buttons at the bottom and
parts of the input field are "pushed out" of the currently visible browser
viewport as soon as the preview is displayed, even if all UI elemnts would fit
into the height of the browser window.

While this normally only happens on first preview on boards this behaviour is
even more annoying when visiting a specific topic via a permalink and replying
to the topic (therefore replying at the very end of the page.

In this situation it can even happen that every time one previews the post the
buttons are pushed out of view again:
- When pressing preview the old preview is deleted first.
- This results in the page becoming "shorter"
- The browser might therefore scroll up (since it can't scroll past the end of
the page)
- Afterwards the new preview is generated.
- The browser does not scroll again but everything after the preview is pushed
- As a result even when not changing any text (therefore creating the exact
same preview) one is able to scroll the browser up just by pressing preview.

All the above was tested with Windows 7 using Firefox 27.0.1

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to