I'm using extjs 5. I boiled this problem down to a fiddle containing a tree panel and a button. The button handler creates a pop-up window. But the window doesn't render properly.

Fiddle: http://ift.tt/16oNRvk

The problem seems to be due to the tree binding to a store:


Ext.define('myApp.view.cm.CmDataTree', {

extend: 'Ext.tree.Panel',

alias: 'widget.dataTree',

title: 'Data',

width: 400,

height: 500,

viewModel: {

type: 'cm'

},

bind: {

store: '{cmStore}'

}

});


If you replace the store binding with an empty store the pop-up window renders correctly:


bind: {

store: []

}


In my application the store and tree appear to work just fine. And the pop-up window is unrelated to them. Very odd!


Thanks.