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.
- package/README.md +2 -1
- package/dist/downshift.cjs.js +2 -2
- package/dist/downshift.esm.js +2 -2
- package/dist/downshift.native.cjs.js +2 -2
- package/dist/downshift.nativeweb.cjs.js +3859 -0
- package/dist/downshift.umd.js +2 -2
- package/dist/downshift.umd.js.map +1 -1
- package/dist/downshift.umd.min.js +1 -1
- package/dist/downshift.umd.min.js.map +1 -1
- package/package.json +3 -2
- package/preact/dist/downshift.cjs.js +2 -2
- package/preact/dist/downshift.esm.js +2 -2
- package/preact/dist/downshift.umd.js +2 -2
- package/preact/dist/downshift.umd.js.map +1 -1
- package/preact/dist/downshift.umd.min.js +1 -1
- package/preact/dist/downshift.umd.min.js.map +1 -1
package/dist/downshift.umd.js
CHANGED
|
@@ -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:
|
|
4602
|
+
selectItem: event.relatedTarget !== null
|
|
4603
4603
|
});
|
|
4604
4604
|
}
|
|
4605
4605
|
};
|