1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Fullcalendar Limits not working on mobile

Discussion in 'Community' started by troester, May 19, 2019.

  1. troester

    troester Well-Known Member Staff Member

    Level: Community
    On smartphone or in the browser's mobile emulation it's ignoring the "Limits" settings, no alert shown but the form opens with the date outside the given limit.
    I think it's because on the smartphone it's reacting (adding) on single click (double click = zoom-in/out)

    Tested on Android with Chrome and Samsung's own browser and on desktop with Chrome console emulating Galaxy or iPhone.

    Edit:
    Found it:
    line 498 in fullcalendar.js should be
    if ( (e.type === 'dblclick' || e.type ==='touchend') && !this.dateInLimits(this.clickdate)) {
     
    Last edited: May 20, 2019
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community

Share This Page