react-time-picker
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -120,3 +120,9 @@ 'use strict'; | ||
_this.closeClock(); | ||
requestAnimationFrame(function () { | ||
var stillHasFocus = _this.wrapper.querySelector(':focus'); | ||
if (!stillHasFocus) { | ||
_this.closeClock(); | ||
} | ||
}); | ||
}, _this.stopPropagation = function (event) { | ||
@@ -123,0 +129,0 @@ return event.stopPropagation(); |
{ | ||
"name": "react-time-picker", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "A time picker for your React app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/entry.js", |
@@ -86,3 +86,9 @@ import React, { PureComponent } from 'react'; | ||
this.closeClock(); | ||
requestAnimationFrame(() => { | ||
const stillHasFocus = this.wrapper.querySelector(':focus'); | ||
if (!stillHasFocus) { | ||
this.closeClock(); | ||
} | ||
}); | ||
} | ||
@@ -89,0 +95,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
160339
4227