src/core/util/animation/animate.js
function currentBounds() {
        var cntr = element ? element.parent() : null;
        var parent = cntr ? cntr.parent() : null;

        return parent ? self.clientRect(parent) : null;
      }
function currentBounds() {
        var cntr = element ? element.parent() : null;
        var parent = cntr ? cntr.parent() : null;

        return parent ? self.clientRect(parent) : null;
      }
function currentBounds ( ) { var cntr = element ? element . parent ( ) : null ; var parent = cntr ? cntr . parent ( ) : null ; return parent ? self . clientRect ( parent ) : null ; }
This is a fallback if the origin information is no longer valid, then the
origin bounds simply becomes the current bounds for the dialogContainer's parent
This is a fallback if the origin information is no longer valid then the origin bounds simply becomes the current bounds for the dialogContainer s parent