DialogPositionCallback
Parameters
dialogRect : RectThe current
Rectof the dialog view element.visibleDomRootRect : Rect | nullThe visible
Rectof the DOM root element. This rect will be unavailable when the DOM root element is off the screen or cropped by overflowing parent.domRootRect : Rect | nullThe current
Rectof the DOM root. This rect will be unavailable, e.g. when the DOM root element is completely hidden via CSSdisplayproperty or detached from the DOM.
Returns
object | nullThe coordinates of the dialog's position or
nullif the dialog should stay hidden.