src/React/Containers/OverlayWindow/index.js
function getMouseEventInfo(event, divElt) {
  const clientRect = divElt.getBoundingClientRect();
  return {
    relX: event.clientX - clientRect.left,
    relY: event.clientY - clientRect.top,
    eltBounds: clientRect,
  };
}
function getMouseEventInfo(event, divElt) {
  const clientRect = divElt.getBoundingClientRect();
  return {
    relX: event.clientX - clientRect.left,
    relY: event.clientY - clientRect.top,
    eltBounds: clientRect,
  };
}
function getMouseEventInfo ( event , divElt ) { const clientRect = divElt . getBoundingClientRect ( ) ; return { relX : event . clientX - clientRect . left , relY : event . clientY - clientRect . top , eltBounds : clientRect , } ; }
Return extra information about the target element bounds
Return extra information about the target element bounds