阻止键盘事件 防止切换历史命令时造成光标位置错误

pull/7/head
ChenX 7 years ago
parent 04ea2666f2
commit f4e5adb3e9

@ -159,6 +159,7 @@ export class InputHint extends React.Component<InputHintProps, InputHitState>
case KeyBoard.ArrowUp:
case KeyBoard.ArrowDown:
{
e.preventDefault();
this.handleIntellSence(e);
break;
}

Loading…
Cancel
Save