From 315a9b82c0641e28ab6841b55a6faf9a89bc14bb Mon Sep 17 00:00:00 2001 From: orangemug Date: Thu, 21 May 2020 09:22:42 +0100 Subject: [PATCH] Fixed for initial focus of JSON editor message. --- src/components/layers/JSONEditor.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/layers/JSONEditor.jsx b/src/components/layers/JSONEditor.jsx index 5935043d..e721ab30 100644 --- a/src/components/layers/JSONEditor.jsx +++ b/src/components/layers/JSONEditor.jsx @@ -51,7 +51,8 @@ class JSONEditor extends React.Component { } constructor(props) { - super(props) + super(props); + this._keyEvent = "keyboard"; this.state = { isEditing: false, showMessage: false,