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

            Bug ID: 69729
           Summary: [collapsibleTabs] Resizing of "View history" tab can
                    cause endless animation loop
           Product: MediaWiki skins
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Vector
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

If the "View history" tab changes size such that becomes too large where it
before was not, an endless animation loop of collapse-expand-collapse-etc can
be triggered. A resize could be caused by an ordinary zoom (frequently resizing
the pixel width of the element by a few pixels), by a change in browser text
size preferences (likely to significantly change the width), or by a user
script modifying the text content of the element.

This appears to be caused by expandCondition in Vector.js using a cached
version of the element's width (collapsibleTabs.data's expandedWidth passed as
the eleWidth argument), while collapseCondition is checking .width() each time.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to