react-datetime-picker
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -143,3 +143,9 @@ 'use strict'; | ||
_this.closeWidgets(); | ||
requestAnimationFrame(function () { | ||
var stillHasFocus = _this.wrapper.querySelector(':focus'); | ||
if (!stillHasFocus) { | ||
_this.closeWidgets(); | ||
} | ||
}); | ||
}, _this.openClock = function () { | ||
@@ -146,0 +152,0 @@ _this.setState({ |
{ | ||
"name": "react-datetime-picker", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A date range picker for your React app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/entry.js", |
@@ -110,3 +110,9 @@ import React, { PureComponent } from 'react'; | ||
this.closeWidgets(); | ||
requestAnimationFrame(() => { | ||
const stillHasFocus = this.wrapper.querySelector(':focus'); | ||
if (!stillHasFocus) { | ||
this.closeWidgets(); | ||
} | ||
}); | ||
} | ||
@@ -113,0 +119,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126203
3150