docs: function findElPosition(el) {
    var box = void 0;
  
    if (el.getBoundingClientRect && el.parentNode) {
      box = el.getBoundingClientRect();
    }
  
    if (!box) {
      return {
        left: 0,
        top: 0
      };
    }
  
    var docEl = _document2['default'].documentElement;
    var body = _document2['default'].body;
  
    var clientLeft = docEl.clientLeft || body.clientLeft || 0;
    var scrollLeft = _window2['default'].pageXOffset || body.scrollLeft;
    var left = box.left + scrollLeft - clientLeft;
  
    var clientTop = docEl.clientTop || body.clientTop || 0;
    var scrollTop = _window2['default'].pageYOffset || body.scrollTop;
    var top = box.top + scrollTop - clientTop;
  
    // Android sometimes returns slightly off decimal values, so need to round
    return {
      left: Math.round(left),
      top: Math.round(top)
    };
  }