mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Seguin
parent
cedf2197dd
commit
157bda19e2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user