+clearTimeout

dev 2.0.0-beta.21
Vitaliy Filippov 2019-03-05 21:48:03 +03:00
parent 36fd012442
commit fce0362b5b
2 changed files with 4 additions and 1 deletions

View File

@ -217,6 +217,9 @@ const tooltipFactory = (options = {}) => {
};
handleMouseLeaveForChildren = () => {
if (this.timeout) {
clearTimeout(this.timeout);
}
this.timeout = setTimeout(() => {
this.deactivate();
}, 300);

View File

@ -2,7 +2,7 @@
"name": "react-toolbox",
"description": "A set of React components implementing Google's Material Design specification with the power of CSS Modules.",
"homepage": "http://www.react-toolbox.io",
"version": "2.0.0-beta.20",
"version": "2.0.0-beta.21",
"main": "./lib",
"module": "./components",
"author": {