function allowPointerEventsOnElementUnderPointer(_ref2) {
  var current = _ref2.current;
  var underUsersPointer = document.elementFromPoint(current.input.clientX, current.input.clientY);
  if (!(underUsersPointer instanceof HTMLElement)) {
    return null;
  }

  // Debug note: change from 'pointer-events: none' to 'background: green'
  // to get a better sense of what is being achieved
  return setStyle(underUsersPointer, {
    property: 'pointer-events',
    rule: 'auto',
    priority: 'important'
  });
}
Allow the user to continue to interact with the element their pointer is over at the end of the drag.
This is important to allow the user to be able to click, drag (etc) after they have finished a drag

@returns a `cleanup` function to restore all elements under the users pointer to their original state