PDA

View Full Version : Window is freezing



Weicheng.Huang
3 Sep 2014, 6:26 PM
Hi,

I am using Ext.window.window with textarea to simulate the notepad function. Behind this window, there is a big panel which has two grid panels and three containers. I am using suspend layout method to suspend this big panel when user start to type on the text area. When user finish the typing, I will do set false to suspendlayout and updateLayout for that big panel. However, I still see the freezing happened when this big panel is showing up. This big panel is hide and only show when user stop typing.

scottmartin
4 Sep 2014, 6:01 AM
Does bigPanel.resumeLayout(true) work any better?

Weicheng.Huang
12 Sep 2014, 5:08 AM
Thanks for answering. Since the bigPanel xtype is panel, so it doesn't have resumeLayout method. Since this note will get affected by the grid behind, ss it possible to use two app.js in a dom?

scottmartin
12 Sep 2014, 9:46 AM
Perhaps a quick example:
https://fiddle.sencha.com/#home