Skip to content

Commit 70de728

Browse files
committed
revert: 撤销代码
1 parent a8a434e commit 70de728

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/BootstrapBlazor/Components/AutoComplete/AutoComplete.razor.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,13 @@ export function init(id, invoke) {
2626
if (duration > 0) {
2727
ac.debounce = true
2828
EventHandler.on(input, 'keyup', debounce(e => {
29-
e.preventDefault();
3029
handlerKeyup(ac, e);
3130
}, duration, e => {
3231
return ['ArrowUp', 'ArrowDown', 'Escape', 'Enter', 'NumpadEnter'].indexOf(e.key) > -1
3332
}))
3433
}
3534
else {
3635
EventHandler.on(input, 'keyup', e => {
37-
e.stopPropagation();
38-
e.preventDefault();
3936
handlerKeyup(ac, e);
4037
})
4138
}

0 commit comments

Comments
 (0)