Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-popper-tooltip

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-popper-tooltip - npm Package Compare versions

Comparing version 2.7.3-alpha.1 to 2.7.3-alpha.2

6

dist/cjs/react-popper-tooltip.js

@@ -54,2 +54,4 @@ 'use strict';

_this._handleOutsideClick = function (e) {
e.stopPropagation();
if (!reactDom.findDOMNode(_assertThisInitialized(_assertThisInitialized(_this))).contains(e.target)) {

@@ -79,9 +81,9 @@ var _this$props = _this.props,

_this._addOutsideClickHandler = function () {
document.addEventListener('touchend', _this._handleOutsideClick);
document.addEventListener('click', _this._handleOutsideClick);
document.addEventListener('touchend', _this._handleOutsideClick);
};
_this._removeOutsideClickHandler = function () {
document.removeEventListener('touchend', _this._handleOutsideClick);
document.removeEventListener('click', _this._handleOutsideClick);
document.removeEventListener('touchend', _this._handleOutsideClick);
};

@@ -88,0 +90,0 @@

@@ -52,2 +52,4 @@ import _extends from '@babel/runtime/helpers/esm/extends';

_this._handleOutsideClick = function (e) {
e.stopPropagation();
if (!findDOMNode(_assertThisInitialized(_assertThisInitialized(_this))).contains(e.target)) {

@@ -77,9 +79,9 @@ var _this$props = _this.props,

_this._addOutsideClickHandler = function () {
document.addEventListener('touchend', _this._handleOutsideClick);
document.addEventListener('click', _this._handleOutsideClick);
document.addEventListener('touchend', _this._handleOutsideClick);
};
_this._removeOutsideClickHandler = function () {
document.removeEventListener('touchend', _this._handleOutsideClick);
document.removeEventListener('click', _this._handleOutsideClick);
document.removeEventListener('touchend', _this._handleOutsideClick);
};

@@ -86,0 +88,0 @@

{
"name": "react-popper-tooltip",
"version": "2.7.3-alpha.1",
"version": "2.7.3-alpha.2",
"description": "React tooltip library built around react-popper",

@@ -5,0 +5,0 @@ "homepage": "https://mohsinulhaq.github.io/react-popper-tooltip/",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc