Comments (2)
Looks like it's an Ext JS 5 bug, see http://www.sencha.com/forum/showthread.php?291317-Ext.getCmp-not-finding-viewport&p=1064131#post1064131
from appinspector.
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.
from appinspector.
Related Issues (20)
- BUG: Components Details still masked after Component selection
- $API for last selected component
- AppInspector and sencha architect HOT 3
- about removing node_modules HOT 1
- Issue displaying dates in Stores > Records HOT 2
- Is it absolutely necessary to have Sencha Architect to be able to build AppInspector? HOT 5
- Enhancement request: Double clicking an element should make its instance available as a global variable
- ExtJS 3.4 support HOT 4
- Cannot identify components that exist within an Extjs frame HOT 1
- ExtJs 6 support HOT 2
- hash change triggering reload of sencha app inspector
- Extension is removed from Chrome store HOT 1
- AppInspector not working on the newest Chrome version HOT 1
- Create mock chrome.* APIs for debugging HOT 2
- Visualizations for Stores/Models and associations HOT 2
- Add "run unit tests" to CONTRIBUTING
- Upgrade to Ext JS 5 HOT 3
- BindInspector HOT 1
- MVC tab HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appinspector.