diff --git a/packages/grafnode-components/src/components/QueryEditor/index.js b/packages/grafnode-components/src/components/QueryEditor/index.js index dd65988ba..c3946dbeb 100644 --- a/packages/grafnode-components/src/components/QueryEditor/index.js +++ b/packages/grafnode-components/src/components/QueryEditor/index.js @@ -178,13 +178,6 @@ export default class QueryEditor extends React.Component { ); } - /** - * Public API for retrieving the DOM client height for this component. - */ - getClientHeight() { - return this._node && this._node.clientHeight; - } - _onKeyUp = (_cm, event) => { if (AUTO_COMPLETE_AFTER_KEY.test(event.key) && this.editor) { this.editor.execCommand('autocomplete'); diff --git a/packages/grafnode-components/src/components/RequestTabPanel/index.js b/packages/grafnode-components/src/components/RequestTabPanel/index.js index 962ff7bec..2c611d4e8 100644 --- a/packages/grafnode-components/src/components/RequestTabPanel/index.js +++ b/packages/grafnode-components/src/components/RequestTabPanel/index.js @@ -149,7 +149,7 @@ const RequestTabPanel = ({dispatch, actions, collections, activeRequestTabId, re
-
+
{ }, [editor.current, cmEditor, data]); return ( - + {isLoading && (
@@ -55,10 +55,7 @@ const QueryResult = ({data, isLoading, width}) => { )}