mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 369 forks source link

Collapse can not open when click #625

Closed zhengcongyin closed 7 years ago

zhengcongyin commented 7 years ago

Bug description / Feature request:

Hi, Your project is awesome. However, I found that the collapse can not open when clicked the calendar. The version of UI.Bootstrap is 2.5.0. Could you help me with this issue? Thanks in advanced.

Link to minimally-working plunker that reproduces the issue (starter template: http://plnkr.co/edit/LE4F4U7AnnD3tjM9ZH4G?p=preview)

Versions

Angular: 1.6.2

Calendar library: 0.29.3

Browser name and version: angular-bootstrap-calendar 0.29.3

burtek commented 7 years ago

Everything's working fine for me. Could you provide plunker showing the problem? What broswser do you use? Did you try other browsers?

zhengcongyin commented 7 years ago

I integrated with my asp.net project. I doubt that I can provide the code in plunker. The problem is that the collapse never show neither load the calendar or click. The angular dependency injector look like this: 'ngAnimate', "ui.router", 'ui.utils', "ui.jq", 'ui.grid', 'ui.grid.pagination', "oc.lazyLoad", "ngSanitize", 'angularFileUpload', 'daterangepicker', 'angularMoment', 'frapontillo.bootstrap-switch', 'abp', 'mwl.calendar', "ui.bootstrap"

Do you think any one block the collapse? It works fine at my other project, which includes the following lib: 'ngAnimate', 'ngSanitize', 'mwl.calendar', 'ui.router', 'ui.bootstrap', 'ui.jq', 'abp'

Thanks!

zhengcongyin commented 7 years ago

I have tried chrome/ firefox/ Edge.

burtek commented 7 years ago

Do you get any errors in browser console?

zhengcongyin commented 7 years ago

Nope. I wonder if it has been blocked by some other css. However, I tried to add a button with collapse. It works fine.

burtek commented 7 years ago

Try commenting out different JS libs and CSS stylesheets and see which one is at fault

zhengcongyin commented 7 years ago

I figured it out by changing cell-auto-open-disabled from "true " to "false"