综合开发

Complete calendar problem: incorrectly selected time interval in day view

微信扫一扫,分享到朋友圈

Complete calendar problem: incorrectly selected time interval in day view

In day view when you click on a time slot, it selects a later time slot. Works fine on very early hours (upto 3 am or so) and then the time slot selected moves to 30 to 90 minutes later than what is actually clicked on.

The demo on http://arshaw.com/fullcalendar/
works fine so it’s something in my custom css that may be the problem.

I am using Firefox 12.0 and FullCalendar 1.5.3 on the client side and the server side is WAMP and CodeIgniter (but all server side code works fine).

These are the previous reports I found, but no clear resolution: code dot google dot com/p/fullcalendar/issues/detail?id=631 code dot google dot com/p/fullcalendar/issues/detail?id=1216

It won’t be possible to post my code since it’s part of a large app. So without that, any ideas where I should look?

This question is old, but I have just had the same problem.

It was caused by two rules in my custom css. The first was a general “line-height” setting in my reset.css (removing this made the biggest difference). The other was a padding rule applied to:

#calendar table {
padding: 10px;
}

Once I removed both these rules, the time slots could be selected accurately.

Frontiers推出门户网站 为COVID-19研究和资助者搭起桥梁

上一篇

[图]华为P40系列官方壁纸下载

下一篇

你也可能喜欢

评论已经被关闭。

插入图片

热门栏目

Complete calendar problem: incorrectly selected time interval in day view

长按储存图像,分享给朋友