twinssbc / AngularJS-ResponsiveCalendar

A pure AngularJS responsive calendar directive
http://twinssbc.github.io/AngularJS-ResponsiveCalendar/demo/
MIT License
112 stars 77 forks source link

Problem opening calendar in mobile browser #73

Open jefvonmuhlen opened 6 years ago

jefvonmuhlen commented 6 years ago

When I open my system in the computer browser it appears normal data, now when it is in the mobile browser (IOS was what I tested), it does not make the background color on the date and neither appears the data when clicked.

What can be done?

twinssbc commented 6 years ago

@jefvonmuhlen Could you remote debug the browser in your device to see what error is printed out in the console? If the issue is only related to Safari, sometimes it's because of below problem https://stackoverflow.com/questions/4310953/invalid-date-in-safari

jefvonmuhlen commented 6 years ago

@twinssbc it is not generating any errors on the console. Any idea what I need to change?

jefvonmuhlen commented 6 years ago

I found this error on the safari:

Error: undefined is not an object (evaluating 'rows[startIndex].events') _onDataLoaded@http://192.168.0.168:8084/SalaoWeb/componentes/rcalendario/js/calendar-tpls.js:974:64 onEventSourceChanged@http://192.168.0.168:8084/SalaoWeb/componentes/rcalendario/js/calendar-tpls.js:88:43 http://192.168.0.168:8084/SalaoWeb/componentes/rcalendario/js/calendar-tpls.js:30:46

twinssbc commented 6 years ago

Could you debug to see what's the value of startIndex? And what does your event look like? What's the value in the startTime and endTime fields?

jefvonmuhlen commented 6 years ago

I tried to debug but could not find the problem. But everything indicates that it is the Date format.

jefvonmuhlen commented 6 years ago

Alguém tem alguma ideia para resolver o problema?