You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had this same issue. I tried to tell @pkozlowski-opensource on @angular gitter channel, but he's probably not available at the moment.
I think it's because on one of the last updates, a click event preventDefault was removed to allow dropdowns to properly close on modals. I'm not sure though.
Anyway, what happens is that clicking the datePicker is equivalent to clicking the backdrop. A quick workaround for now is to use the option { backdrop: 'static' } which will always prevent the modal from closing on datePicker click, although with the caveat that it also stops users from closing the modal by clicking outside of it.
I assume it's the same problem as #1040 , which seems to have solved the issue with typeahead.
deeg
added a commit
to deeg/ng-bootstrap
that referenced
this issue
Nov 15, 2016
When having a date-picker inside a modal, when I select a date the modal closes.
Example to reproduce issue:
http://plnkr.co/edit/ATyV4MJ2vvoDgCc9W5Wn?p=preview
The text was updated successfully, but these errors were encountered: