code: function checkPointerDown(e) {
      if (config.clickOutsideDeactivates && !container.contains(e.target)) {
        deactivate({ returnFocus: false });
      }
    }
docs: This needs to be done on mousedown and touchstart instead of click so that it precedes the focus event