diff --git a/package.json b/package.json
index 57ee38e2..46943513 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "react-tree-dropdown-",
- "version": "2.1.2",
+ "version": "3.1.0",
"description": "Lightweight, customizable and fast Dropdown Tree Select component for React",
"keywords": [
"react",
@@ -25,8 +25,6 @@
"scripts": {
"build": "rimraf dist/**/* && cross-env NODE_ENV=production webpack --config webpack.config.js --bail --mode=production",
"build:docs": "yarn build && cross-env NODE_ENV=production webpack --config docs/webpack.config.js --bail --mode=production",
- "commit": "git-cz",
- "commitmsg": "commitlint -e $GIT_PARAMS",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"demo": "rimraf ./docs/bundle.js && webpack-serve --content ./docs --port 3000 --open --config docs/webpack.config.js",
"prepublishOnly": "npm run build",
@@ -44,13 +42,11 @@
"dependencies": {
"array.partial": "^1.0.4",
"classnames": "^2.2.6",
- "react-infinite-scroll-component": "^4.0.2"
+ "react-infinite-scroll-component": "^6.1.0"
},
"devDependencies": {
"@babel/plugin-syntax-jsx": "7.0.0-beta.46",
"@babel/preset-stage-3": "7.0.0-beta.46",
- "@commitlint/cli": "^7.0.0",
- "@commitlint/config-conventional": "^7.0.0",
"all-contributors-cli": "^5.4.1",
"ava": "1.0.0-beta.4",
"babel-core": "6.24.1",
@@ -77,7 +73,6 @@
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"github-markdown-css": "^2.10.0",
- "husky": "^0.14.3",
"ignore-styles": "^5.0.1",
"jsdom": "^11.2.0",
"jsdom-global": "^3.0.2",
diff --git a/src/index.js b/src/index.js
index d13786b4..b0b9ff15 100644
--- a/src/index.js
+++ b/src/index.js
@@ -206,7 +206,7 @@ class DropdownTreeSelect extends Component {
}}
>
-
+
{
this.searchInput = el
diff --git a/src/input/index.js b/src/input/index.js
index a645e961..5065dbc9 100644
--- a/src/input/index.js
+++ b/src/input/index.js
@@ -15,6 +15,7 @@ const getTags = (tags = [], onDelete, readOnly, tagRenderer) =>
{label}
-