Pregunta

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.

¿Fue útil?

Solución

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;
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top