Skip to content

Commit

Permalink
fix(datepicker): focus trap not working inside popup (#4839)
Browse files Browse the repository at this point in the history
Fixes focus trapping not working inside the datepicker in popup mode due to the A11yModule not being imported.

Relates to #4804.
  • Loading branch information
crisbeto authored and andrewseguin committed Jun 5, 2017
1 parent cedf219 commit 157bda1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/datepicker/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import {NgModule} from '@angular/core';
import {MdMonthView} from './month-view';
import {CommonModule} from '@angular/common';
import {StyleModule, OverlayModule, A11yModule} from '../core';
import {MdCalendarBody} from './calendar-body';
import {MdYearView} from './year-view';
import {OverlayModule} from '../core/overlay/overlay-directives';
import {MdDatepicker, MdDatepickerContent} from './datepicker';
import {MdDatepickerInput} from './datepicker-input';
import {MdDialogModule} from '../dialog/index';
import {MdCalendar} from './calendar';
import {MdDatepickerToggle} from './datepicker-toggle';
import {StyleModule} from '../core/style/index';
import {MdButtonModule} from '../button/index';
import {MdDatepickerIntl} from './datepicker-intl';

Expand All @@ -31,6 +30,7 @@ export * from './year-view';
MdDialogModule,
OverlayModule,
StyleModule,
A11yModule,
],
exports: [
MdDatepicker,
Expand Down

0 comments on commit 157bda1

Please sign in to comment.