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