PDA

View Full Version : [CLOSED] Window Resize delay not working



RCN
Oct 15, 2012, 1:33 PM
Hi folks, i am setting the Delay value of WindowResize listener, but there is no effect, it always raises the event instantly.

Is this a bug?



<ext:ResourceManager ID="_rsm" runat="server">
<Listeners>
<WindowResize Handler="alert('Window Resize')" Delay="5000" />
</Listeners>
</ext:ResourceManager>
<ext:Button runat="server" Text="Ext.Net" />


It's possible to overcome this issue by using setTimeout function.


<WindowResize Handler="setTimeout(function(){alert('Window Resize')},5000);" />

Daniil
Oct 15, 2012, 2:01 PM
Hi Raphael,

Thank you for the report! We will investigate.

RCN
Oct 15, 2012, 2:22 PM
I noticed the same issue on other listeners few days ago, but unfortunately i can't remember which they were. I'll keep you posted if i notice it again.

Daniil
Oct 15, 2012, 4:20 PM
Yes, please report.

The issue with WindowResize has been fixed in SVN.

RCN
Oct 15, 2012, 4:51 PM
Thank you Danill, please mark this thread as closed. I'll open another thread If i find another issue.