So I am using the default Ext.Viewport to add my cards. Whenever I show any floating components I get this warning:
[DEPRECATE][Ext.MessageBox#show] Showing a component that currently doesn't have any container, please use Ext.Viewport.add() to add this component to the viewport
Now if I do the Ext.Viewport.add() the warning goes away but doing this for every MessageBox, LoadMask, etc. is a pain. Do I really need to add() each one before showing or am I missing something here?
Code:
this.mask = new Ext.LoadMask({
message: 'Processing...'
});
Ext.Viewport.add(this.mask);
this.mask.show();