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

            Bug ID: 63253
           Summary: Hovercards/Popups do not close in browsers without
                    animationend
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Popups
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mflasc...@wikimedia.org
                CC: psax...@wikimedia.org, yuvipa...@gmail.com
       Web browser: ---
   Mobile Platform: ---

In IE 9 (but same concept should apply to any browser without animationend or
prefixed equivalent), the hover cards will show fine.  However, when you mouse
out to leave, it just stays there.

It can't show the animation without CSS3 animation support
(http://caniuse.com/#search=animation).  However, it should still close.

The solution is probably to use feature detection to determine if animationend
exists, and either hide it immediately (or with a simple jQuery fade), or let
animationend do its job in supported browsers.

It looks like http://davidwalsh.name/css-animation-callback (from Modernizr)
should work (using animation instead of transition), if all browsers with CSS
animations support animationend).

-- 
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