fullcalendar选择回调未在移动设备中触发 [英] fullcalendar select callback not firing in mobile

查看:597
本文介绍了fullcalendar选择回调未在移动设备中触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 fullcalendar 版本2.9.1.我将日历渲染为 agendaWeek .当我单击桌面上的特定时间段时,它会触发选择回调,但是当我单击移动设备上时,它不会.有什么问题吗?

I am using fullcalendar version 2.9.1. I am rendering calendar as agendaWeek. When I click on specific time slot from desktop, it's firing the select callback, but when I click on the mobile device it's not. What is the problem?

     selectable:true,
     select: function(start, end, jsEvent, view) {
      // event is firing this callback
     }

我正在使用 ui.calendar

I am using this in angular application using ui.calendar

推荐答案

我认为您需要点击并按住才能在移动设备中选择日期/时间段... https://fullcalendar.io/docs/event_ui/longPressDelay/

I think you need to tap and hold in order to select dates/slots in mobile devices... https://fullcalendar.io/docs/event_ui/longPressDelay/

这篇关于fullcalendar选择回调未在移动设备中触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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