@samitouri / QOS-React / commits / 53c1b8b0d7

Live code editor ignores tab key for improved a11y (#10992)

Brian Vaughn committed Oct 3, 2017 at 11:15 UTC 53c1b8b0d7109748d95592ea4fdc50e490d9565c
1 file changed +1 -1
www/src/components/CodeEditor/CodeEditor.js
+1 -1
@@ -133,7 +133,7 @@ class CodeEditor extends Component {
133 },
134 }}
135 className="gatsby-highlight">
136 - <LiveEditor onChange={this._onChange} />
136 + <LiveEditor onChange={this._onChange} ignoreTabKey={true} />
137 </div>
138 </div>
139 {error &&