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

       Web browser: ---
            Bug ID: 55457
           Summary: mediawiki.notification: div#mw-notification-area
                    remains visible and steals events after dismissing
                    notification
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: krinklem...@gmail.com
          Reporter: roan.katt...@gmail.com
                CC: jforres...@wikimedia.org, krinklem...@gmail.com,
                    matma....@gmail.com, tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

1. Trigger a notification
2. Click on the notification to dismiss it
3. The notification area (<div id="mw-notification-area">) is now empty, but
still obscures a narrow strip in the top right corner:

> $('#mw-notification-area').outerHeight()
12
> $('#mw-notification-area').outerWidth()
269
> $('#mw-notification-area').position()
Object {top: 89.59375, left: 1251.203125}
> $('#mw-notification-area').css('z-index')
"10000"

This is a problem because the div steals events and mouse interaction from the
UI elements below it. For instance, in VisualEditor:
1. Open a page in VE
2. Type '[['. The wikitext warning appears
3. Click the warning to dismiss it
4. Reveal #mw-notification-area in the inspector and observe how it's on top of
part of the save button
5. Very carefully move the mouse over the save button, and you'll notice a
small (12px tall) area where mouse pointer is a normal pointer instead of a
hand. Clicking in this area does not press the save button.

-- 
You are receiving this mail because:
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