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

rc-trigger

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-trigger - npm Package Compare versions

Comparing version 1.8.1 to 1.8.2

4

HISTORY.md
# History
----
## 1.8.2 / 2017-02-24
- change default container to absolute to fix scrollbar change problem
## 1.7.0 / 2016-07-18

@@ -5,0 +9,0 @@

@@ -90,2 +90,7 @@ 'use strict';

var popupContainer = document.createElement('div');
// Make sure default popup container will never cause scrollbar appearing
// https://github.com/react-component/trigger/issues/41
popupContainer.style.position = 'absolute';
popupContainer.style.top = '-9999px';
popupContainer.style.left = '-9999px';
var mountNode = instance.props.getPopupContainer ? instance.props.getPopupContainer((0, _reactDom.findDOMNode)(instance)) : document.body;

@@ -92,0 +97,0 @@ mountNode.appendChild(popupContainer);

2

package.json
{
"name": "rc-trigger",
"version": "1.8.1",
"version": "1.8.2",
"description": "base abstract trigger component for react",

@@ -5,0 +5,0 @@ "keywords": [

@@ -57,2 +57,4 @@ # rc-trigger

Include the default [styling](https://github.com/react-component/trigger/blob/master/assets/index.less#L4:L11) and then:
```js

@@ -59,0 +61,0 @@ import React from 'react';

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