New code introduced in Ext.util.Floating are:

Code:



alignTo: function (element, position, offsets, animate) {
var me = this,
el = me.el;


// Since floaters are rendered to the document.body, floaters could become marooned
// from its ownerRef if the ownerRef has been rendered into a container that overflows
// and then that container is scrolled.
if (!me._lastAlignToEl) {
Ext.on('scroll','_onAlignToScroll', me);
}


// Let's stash these on the component/element in case it's aligned to something else
// in its little lifetime.
me._lastAlignToEl = element;
me._lastAlignToPos = position;


me.mixins.positionable.alignTo.call(me, element, position, offsets, animate);
}
,
privates: {
_onAlignToScroll: function () {
var el = this._lastAlignToEl;


if (el) {
this.alignTo(el, this._lastAlignToPos);
}
}
}



Error is:


Code:



Error: Attempted to align an element that doesn't exist
at new Ext.Error (app.js?_dc=1423753290929:1000:21)
at Function.Ext.apply.raise (app.js?_dc=1423753290929:1081:23)
at Ext.define.getAlignToXY (app.js?_dc=1423753290929:24167:23)
at Ext.define.alignTo (app.js?_dc=1423753290929:24045:28)
at Ext.define.alignTo (app.js?_dc=1423753290929:52174:40)
at Ext.define.privates._onAlignToScroll (app.js?_dc=1423753290929:52497:22)
at fire (app.js?_dc=1423753290929:17917:37)
at doFireEvent (app.js?_dc=1423753290929:18704:47)
at prototype.doFireEvent (app.js?_dc=1423753290929:48526:35)
at fireEventArgs (app.js?_dc=1423753290929:18640:26)