diff --git a/package.json b/package.json index d367e96..9f4573f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-tag-input-component", "description": "lightweight component for tag(s) input", - "version": "1.0.6", + "version": "1.0.7", "license": "MIT", "author": "Harsh Zalavadiya", "module": "dist/react-tag-input-component.esm.js", diff --git a/src/index.tsx b/src/index.tsx index c99dead..98595c9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -110,7 +110,7 @@ export const TagsInput = ({ type="text" name={name} placeholder={placeHolder} - onKeyUp={handleOnKeyUp} + onKeyDown={handleOnKeyUp} onBlur={onBlur} />