Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 0fad106

Browse files
crisbetoThomasBurleson
authored andcommitted
fix(datepicker): apply theming to the calendar pane
The calendar pane wasn't registered with the theming service, causing it to be transparent in certain situations. Fixes #8690. Closes #8718
1 parent b09b317 commit 0fad106

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/datepicker/js/datepickerDirective.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
this.calendarPane.id = 'md-date-pane' + $mdUtil.nextUid();
286286

287287
$mdTheming($element);
288+
$mdTheming(angular.element(this.calendarPane));
288289

289290
/** Pre-bound click handler is saved so that the event listener can be removed. */
290291
this.bodyClickHandler = angular.bind(this, this.handleBodyClick);

0 commit comments

Comments
 (0)