react-floater
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -843,4 +843,2 @@ import ReactDOM from 'react-dom'; | ||
_this.state = { | ||
@@ -1335,7 +1333,9 @@ currentPlacement: props.placement, | ||
var status = _this4.state.status; | ||
var _state3 = _this4.state, | ||
positionWrapper = _state3.positionWrapper, | ||
status = _state3.status; | ||
/* istanbul ignore else */ | ||
if (_this4.event === 'click') { | ||
if (_this4.event === 'click' || _this4.event === 'hover' && positionWrapper) { | ||
log({ | ||
@@ -1375,5 +1375,5 @@ title: 'click', | ||
eventDelay = _props7.eventDelay; | ||
var _state3 = _this4.state, | ||
status = _state3.status, | ||
positionWrapper = _state3.positionWrapper; | ||
var _state4 = _this4.state, | ||
status = _state4.status, | ||
positionWrapper = _state4.positionWrapper; | ||
@@ -1380,0 +1380,0 @@ /* istanbul ignore else */ |
@@ -847,4 +847,2 @@ 'use strict'; | ||
_this.state = { | ||
@@ -1339,7 +1337,9 @@ currentPlacement: props.placement, | ||
var status = _this4.state.status; | ||
var _state3 = _this4.state, | ||
positionWrapper = _state3.positionWrapper, | ||
status = _state3.status; | ||
/* istanbul ignore else */ | ||
if (_this4.event === 'click') { | ||
if (_this4.event === 'click' || _this4.event === 'hover' && positionWrapper) { | ||
log({ | ||
@@ -1379,5 +1379,5 @@ title: 'click', | ||
eventDelay = _props7.eventDelay; | ||
var _state3 = _this4.state, | ||
status = _state3.status, | ||
positionWrapper = _state3.positionWrapper; | ||
var _state4 = _this4.state, | ||
status = _state4.status, | ||
positionWrapper = _state4.positionWrapper; | ||
@@ -1384,0 +1384,0 @@ /* istanbul ignore else */ |
{ | ||
"name": "react-floater", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Floaters everywhere!", | ||
@@ -5,0 +5,0 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", |
@@ -344,6 +344,6 @@ import React from 'react'; | ||
const { status } = this.state; | ||
const { positionWrapper, status } = this.state; | ||
/* istanbul ignore else */ | ||
if (this.event === 'click') { | ||
if (this.event === 'click' || (this.event === 'hover' && positionWrapper)) { | ||
log({ | ||
@@ -350,0 +350,0 @@ title: 'click', |
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
119854
3533