Skip to content

Commit 205d4a1

Browse files
🐛 prevent event bubbling
1 parent 31f25f2 commit 205d4a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-tag-input-component",
33
"description": "lightweight component for tag(s) input",
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"license": "MIT",
66
"author": "Harsh Zalavadiya",
77
"module": "dist/react-tag-input-component.esm.js",

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const TagsInput = ({
110110
type="text"
111111
name={name}
112112
placeholder={placeHolder}
113-
onKeyUp={handleOnKeyUp}
113+
onKeyDown={handleOnKeyUp}
114114
onBlur={onBlur}
115115
/>
116116
</div>

0 commit comments

Comments
 (0)