I am trying to implement NG-Bootstrap ngbDatepicker as a popup with a custom template for the selection of Month/Year (I do not care about the day of month). When selecting a date, the popup does not close, even if I force a toggle in the selection method. The popup does close if I click outside of it. I'm wondering if there is something I'm not implementing in the ngbDatepickerContent. Here is a link to a StackBlitz that demonstrates the problem: https://stackblitz.com/edit/angular...mmonth.ts,src/app/datepicker-custommonth.html Continue reading...