Revert "Fixed Tab key not respecting opts.selectOnBlur" breaks tab key. fixes #1646.
This reverts commit 6eb74930d5
.
This commit is contained in:
parent
9380a0678c
commit
ca7550bf4d
@ -1927,10 +1927,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
killEvent(e);
|
||||
return;
|
||||
case KEY.TAB:
|
||||
// if selectOnBlur == true, select the currently highlighted option
|
||||
if (this.opts.selectOnBlur) {
|
||||
this.selectHighlighted({noFocus: true});
|
||||
}
|
||||
return;
|
||||
case KEY.ESC:
|
||||
this.cancel(e);
|
||||
@ -2522,10 +2519,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
killEvent(e);
|
||||
return;
|
||||
case KEY.TAB:
|
||||
// if selectOnBlur == true, select the currently highlighted option
|
||||
if (this.opts.selectOnBlur) {
|
||||
this.selectHighlighted({noFocus:true});
|
||||
}
|
||||
this.close();
|
||||
return;
|
||||
case KEY.ESC:
|
||||
|
Loading…
Reference in New Issue
Block a user