質問

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.

役に立ちましたか?

解決

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;
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top