mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Allow you to tab through modal text box
This commit is contained in:
committed by
Jason Rudolph
parent
a79a605f9b
commit
9eac520e6a
@@ -170,6 +170,7 @@ class TextEditorComponent {
|
||||
this.textDecorationBoundaries = []
|
||||
this.pendingScrollTopRow = this.props.initialScrollTopRow
|
||||
this.pendingScrollLeftColumn = this.props.initialScrollLeftColumn
|
||||
this.tabIndex = this.props.element && this.props.element.tabIndex ? this.props.element.tabIndex : -1;
|
||||
|
||||
this.measuredContent = false
|
||||
this.queryGuttersToRender()
|
||||
@@ -481,7 +482,7 @@ class TextEditorComponent {
|
||||
style,
|
||||
attributes,
|
||||
dataset,
|
||||
tabIndex: -1,
|
||||
tabIndex: this.tabIndex,
|
||||
on: {mousewheel: this.didMouseWheel}
|
||||
},
|
||||
$.div(
|
||||
@@ -3574,7 +3575,7 @@ class CursorsAndInputComponent {
|
||||
compositionupdate: didCompositionUpdate,
|
||||
compositionend: didCompositionEnd
|
||||
},
|
||||
tabIndex: -1,
|
||||
tabIndex: this.tabIndex,
|
||||
style: {
|
||||
position: 'absolute',
|
||||
width: '1px',
|
||||
|
||||
Reference in New Issue
Block a user