angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

Show calendar in a bootstrap modal #524

Open mkgn opened 6 years ago

mkgn commented 6 years ago

I am using AngularStrap library to show modals. Within that I show the calendar. My config is;

$scope.uiConfig = { calendar: { height: 450, editable: true, views: { listDay: { buttonText: 'list day' }, listWeek: { buttonText: 'list week' }, listYear: { buttonText: 'list year' } }, header: { left: 'prev,next today', center: 'title', right: 'listYear,listDay,listWeek,month' }, eventClick: $scope.alertEventOnClick, select: function (start, end, jsEvent, view) { console.log(start + ' ' + end); }, loading: function (bool) { console.log("loading"); } } }; ` Calendar renders fine. However none of the events get fired! The example I have followed are the same one in the site. Have any one tried to show this calendar in a modal ?

josegoyo commented 5 years ago

I have same problem, calendar dont render in my modal when I do click in a button that show it