You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though the element and its owner component frequently share the same id (which in turn allows for #getCmp lookups in the ComponentManager's cache), this is not a guarantee. It will almost always be the case when the component renders its elements internally, but it will not necessarily be the case when the component is given a configured element as its top-level "el". This is indeed the case with viewports.
Since this is not really a bug, we have instead added a public static method on Component: Ext.Component.fromElement. This will do the necessary work to trace an element to its owner component.
http://www.sencha.com/forum/showthread.php?281974-App-Inspector-for-Sencha-v2.0&p=1064100&viewfull=1#post1064100
The text was updated successfully, but these errors were encountered: