Skip to content

Commit e708547

Browse files
author
cetra3
committed
1 parent 9f89f66 commit e708547

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/datetime/src/dateInput.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,7 @@ export class DateInput extends AbstractPureComponent<IDateInputProps, IDateInput
379379
if (e.which === Keys.ENTER) {
380380
const nextDate = this.parseDate(this.state.valueString);
381381
this.handleDateChange(nextDate, true, true);
382-
} else if (e.which === Keys.TAB && e.shiftKey) {
383-
// close the popover if focus will move to the previous element on
384-
// the page. tabbing forward should *not* close the popover, because
385-
// focus will be moving into the popover itself.
382+
} else if (e.which === Keys.TAB) {
386383
this.setState({ isOpen: false });
387384
} else if (e.which === Keys.ESCAPE) {
388385
this.setState({ isOpen: false });

0 commit comments

Comments
 (0)