Skip to content

Commit

Permalink
fix(datepicker): navigation arrows not responding on Firefox when nav…
Browse files Browse the repository at this point in the history
…igation=="arrows"

When navigation == "arrows" on the datepicker component, navigation
arrows are under the div.ngb-dp-month element, which prevents the click
event from reaching navigation arrows on Firefox.

Closes #1254
  • Loading branch information
divdavem authored and maxokorokov committed Jan 27, 2017
1 parent 8e03090 commit e2410f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/datepicker/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ export interface NgbDatepickerNavigateEvent {
.ngb-dp-header {
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.ngb-dp-month {
pointer-events: none;
}
ngb-datepicker-month-view {
pointer-events: auto;
}
.ngb-dp-month:first-child {
margin-left: 0 !important;
}
Expand Down

0 comments on commit e2410f9

Please sign in to comment.