Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

QuerySelector down() breaks if there's a Chart with SpriteLegend within #1606

Closed
fabriciomurta opened this issue Aug 6, 2018 · 3 comments
Closed

Comments

@fabriciomurta
Copy link
Contributor

Found: 4.7.0
Sencha thread: down ( [selector] ) method doesn't work?

Ext.chart.legend.SpriteLegend now is an 'item' within a chart when SpriteLegend is used. But it doesn't implement, for one, the .isXType() method. So using the down() querier will raise an exception if this class is in the path.

@fabriciomurta
Copy link
Contributor Author

Fiddle reproducing (and showing a fix) for the issue: Sprite Legend / Component Query Error

@fabriciomurta
Copy link
Contributor Author

Fixed by our own by now. The Sencha issue is likely to become an actual issue and be fixed, so let's keep an eye on that for next Ext JS releases.

@fabriciomurta
Copy link
Contributor Author

Update: Issue still open after ExtJS 6.7.0.161 release. Issue is acknowledged by Sencha under ID EXTJS-27330.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant