downshift 7.4.0 → 7.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4594,12 +4594,12 @@
4594
4594
  inputValue: event.target.value
4595
4595
  });
4596
4596
  };
4597
- var inputHandleBlur = function inputHandleBlur() {
4597
+ var inputHandleBlur = function inputHandleBlur(event) {
4598
4598
  /* istanbul ignore else */
4599
4599
  if (latestState.isOpen && !mouseAndTouchTrackersRef.current.isMouseDown) {
4600
4600
  dispatch({
4601
4601
  type: InputBlur,
4602
- selectItem: true
4602
+ selectItem: event.relatedTarget !== null
4603
4603
  });
4604
4604
  }
4605
4605
  };