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

@atlaskit/react-select

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/react-select - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

9

CHANGELOG.md
# @atlaskit/react-select
## 1.0.4
### Patch Changes
- [#150410](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/150410)
[`010ae8c2986e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/010ae8c2986e6) -
If select is within react-beatiful-dnd, don't prevent onMouseDown event to fix select is not
clickable in dnd
## 1.0.3

@@ -4,0 +13,0 @@

7

dist/es2019/select.js

@@ -422,3 +422,8 @@ import _extends from "@babel/runtime/helpers/extends";

if (event.defaultPrevented) {
return;
var _this$controlRef;
// react-dnd will fire preventDefault in mouseDown, which make select is not clickable.
// temp workaround to check if select is within dnd, we don't do the early return.
if (!((_this$controlRef = this.controlRef) !== null && _this$controlRef !== void 0 && _this$controlRef.closest('[data-rbd-draggable-context-id]'))) {
return;
}
}

@@ -425,0 +430,0 @@ const {

2

package.json
{
"name": "@atlaskit/react-select",
"version": "1.0.3",
"version": "1.0.4",
"description": "A forked version of react-select to only be used in atlaskit/select",

@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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