Skip to content
Snippets Groups Projects
Unverified Commit 9beec6f8 authored by Michael J. Giarlo's avatar Michael J. Giarlo Committed by GitHub
Browse files

Update src/TextEditor.js


Co-authored-by: default avatarChris Beer <cabeer@stanford.edu>
parent 14ee631f
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ class TextEditor extends Component { ...@@ -26,7 +26,7 @@ class TextEditor extends Component {
/** /**
* This is a kinda silly hack (but apparently recommended approach) to * This is a kinda silly hack (but apparently recommended approach) to
* making sure the whole visible editor area, not just the first line. * making sure the whole visible editor area is clickable, not just the first line.
*/ */
handleFocus() { handleFocus() {
if (this.editorRef.current) this.editorRef.current.focus(); if (this.editorRef.current) this.editorRef.current.focus();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment