https://bugzilla.wikimedia.org/show_bug.cgi?id=50865

       Web browser: ---
            Bug ID: 50865
           Summary: CentralNotice shifts down page content on load (causes
                    mis-clicks)
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: CentralNotice
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: eduard.bra...@gmx.de
                CC: fr-t...@wikimedia.org, s...@ludd.net
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 12771
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=12771&action=edit
Central notice absolutely positioned at the top to cause no shifting of page
content at all

Since the CentralNotice banner is inserted using JavaScript, it is not yet
present on page load but displays with some delay. When the banner gets
inserted, it shifts the whole page content down.

This causes two problems:
1) The shifting often takes place when I'm just about to follow a link on my
watchlist or on history pages. The moment I click the content shifts down and
I'm clicking nowhere or even follow the wrong link. This happens quite a lot
actually!
2) Even neglecting the shifting issue, the CentralNotice changes layout of
pages. Most noticeable, the heading of a page (which I think is a central part
of a page if not *the* central part) is shifted. While its at least not an
usability problem like 1) I don't like it all personally - what do others
think?

I therefore propose to think about a different way to show the CentralNotice. I
solved it temporarily with some CSS to absolutely position the "#siteNotice"
div at the top of the page (see attachment), but this is far from perfect (It
breaks as soon as the buttons are shifted or the browser window is reduced to
very small width). However it gives a nice impression of what *could* be
possible. I'm sure one could come up with a comparable solution which is nice
and clean , though.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to