如何使FullCalendar在触摸设备上工作? [英] How to make FullCalendar work on touch devices?

查看:208
本文介绍了如何使FullCalendar在触摸设备上工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个平板电脑友好的活动日历,但我没有找到任何合适的。但 FullCalendar 是桌面和平板电脑上最好的jQuery日历插件。



这个日历在桌面上完美地运行,但是当涉及到平板电脑时,我无法基于触摸和滑动来选择事件的开始时间和结束时间。当我这样做的日历滚动。有什么解决方案吗?我一直在寻找静脉中的解决方案。



有人有这个问题,你解决了吗?请分享您如何解决它的方法。



提前感谢。

解决方案

您是否尝试过加入 Jquery UI Touch Punch



默认情况下, Jquery UI不支持触摸事件,因为它未针对移动设备进行优化。
Touch Punch解决了我的问题与Jquery UI Drag& Drop功能,这似乎也被FullCalendar使用。



希望它帮助! >

I was looking for a tablet friendly event calendar, but I did not find any suitable ones. But FullCalendar is one best jQuery calendar plugin that looks great on desktop and a tablet.

This calendar works perfectly on a desktop, but when it comes to tablet I am unable to select the start time and end time of an event, based on the touch and swipe. When i do this the calendar gets scrolled. Is there any solution for this? I have been looking around for a solution in vein.

Have anyone had this issue and did you solve it? Please share the method how you solved it. Any sort of help is appreciated.

Thanks in advance.

解决方案

Have you tried including the Jquery UI Touch Punch?

By default, Jquery UI doesn't support Touch Events because it wasn't optimized for mobile devices. Touch Punch solved my problems with the Jquery UI Drag&Drop functionalities, which seem to be used by FullCalendar as well.

Hope it helps!

这篇关于如何使FullCalendar在触摸设备上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆