fix(datepicker): focus trap not working inside popup (#4839)

Fixes focus trapping not working inside the datepicker in popup mode due to the A11yModule not being imported.

Relates to #4804.
This commit is contained in:
Kristiyan Kostadinov
2017-06-05 23:43:08 +02:00
committed by Andrew Seguin
parent cedf2197dd
commit 157bda19e2
+2 -2
View File
@@ -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';
@@ -31,6 +30,7 @@ export * from './year-view';
MdDialogModule,
OverlayModule,
StyleModule,
A11yModule,
],
exports: [
MdDatepicker,