PDA

View Full Version : Component is rendered but not showing in browser



echowang
5 Dec 2014, 8:24 AM
At a point of time, I use component query to query a component, and I can get the component. It's properties show rendered = true, getVisible() = true, hidden = false, getEl() is not undefined, but the component is not showing in browser. Any idea why? And is there a property to make sure the component actually visible in browser?

scottmartin
5 Dec 2014, 8:58 AM
You will need to show your code. Feel free to use our online fiddle:
https://fiddle.sencha.com/#home

echowang
5 Dec 2014, 2:20 PM
I found the issue is with Ext.window.Window show() function. If animation target is specified, the animate process will be called after the component is rendered. Is there a way to tell the animation is done?