From e506fc9fdf6034782c7e4fd6224d86a68c064122 Mon Sep 17 00:00:00 2001 From: Aditya Date: Wed, 26 Feb 2020 23:11:24 +0530 Subject: [PATCH] fix cursor position after function autocomplete (#9396) Closes #9395 --- web-console/src/views/query-view/query-input/query-input.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/web-console/src/views/query-view/query-input/query-input.tsx b/web-console/src/views/query-view/query-input/query-input.tsx index 030fc833f1b..a8b058c46ca 100644 --- a/web-console/src/views/query-view/query-input/query-input.tsx +++ b/web-console/src/views/query-view/query-input/query-input.tsx @@ -93,8 +93,6 @@ export class QueryInput extends React.PureComponent { editor.completer.insertMatch({ value: data.caption }); - const pos = editor.getCursorPosition(); - editor.gotoLine(pos.row + 1, pos.column - 1); }, }, };