Frage

After I upgrade YUI from 2.8 to 2.9, the left handle proxy of resize utility is strange. See the jsfiddle: http://jsfiddle.net/qianlifeng/atn67/4/

var resize = new YAHOO.util.Resize('resizeMe',{ handles: ["l"], proxy:true });

When I drag the left handle, the proxy should expand from the left border. But now, it expand from the right border.

War es hilfreich?

Lösung

Ok, there is no problem in YUI. The problem is that you must set the div position to be absolute, also fix the right. See the fiddle: http://jsfiddle.net/atn67/5/

position:absolute;
right:0;
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top