Changeset 13803

Show
Ignore:
Timestamp:
05/26/08 10:06:11 (13 months ago)
Author:
bill
Message:

Fix problem where popup appears too far to the left.
Apparently, popup was momentarily being positioned at bottom of screen, and even though it's position:absolute, it caused a scrollbar to appear, which affected the position of the target element for a split second, thus the popup ends up too far to the left. Thanks to Grzegorz for tracking this down.
Fixes #5776 !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/_base/popup.js

    r13547 r13803  
    8080                wrapper.className="dijitPopup"; 
    8181                wrapper.style.zIndex = beginZIndex + stack.length; 
     82                wrapper.style.left = wrapper.style.top = "0px";         // prevent transient scrollbar causing misalign (#5776) 
    8283                wrapper.style.visibility = "hidden"; 
    8384                if(args.parent){