question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[beta4] Part of calendar not selectable with slotDuration

See original GitHub issue

Hi, I am encountering a problem : When I put slotDuration: '00:15:00' with selectable: true, there is a part of the calendar that we can not select anymore after 15:00.

My code:

    let calendar = new Calendar(document.getElementById('calendar'), {
            plugins: [ rrulePlugin, interactionPlugin, timeGridPlugin ],
            timeZone: 'Europe/London',
            selectable: true,
            selectConstraint: {
                startTime: '00:00',
                endTime: '24:00'
            },
            defaultView: 'timeGridWeek',
            locale: frLocale,
            columnHeaderFormat: {
                weekday: 'long',
                month: 'short',
                day: 'numeric',
                omitCommas: true
            },
            slotLabelFormat: {
                hour: 'numeric',
                minute: '2-digit'
            },
            allDaySlot: false,
            selectMirror: true,
            slotDuration: '00:15:00',
            scrollTime: '08:00:00',
            eventTextColor: '#ffffff',
        });

And When I put slotDuration: '00:20:00' with selectable: true, there is a part of the calendar that we can not select anymore after 20:00.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
arshawcommented, Mar 7, 2019
0reactions
cyrepcommented, Mar 22, 2019

i was having the same issue using angular 7. updating to 4.0.1 solved the issue. BUT only in development mode. once running ng build --prod, i’m having this issue once again in my production build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

slotDuration - Docs - FullCalendar
slotDuration. The frequency for displaying time slots. Duration, default: '00:30:00' (30 minutes). 10% of profits donated to effective charities.
Read more >
Full Calendar does not show range for 15 min slot duration
The rule seems to be that if the event's duration is less than or equal to the length of the slot duration, it...
Read more >
fullcalendar | Yarn - Package Manager
A full-sized drag & drop JavaScript event calendar ... (without resources) problem with expanding height (#5792); fixed: locales not working in IE11 (#6790) ......
Read more >
@event-calendar/list NPM | npm.io
Array of plain objects that will be parsed into Event objects and displayed on the calendar. This option is not used if the...
Read more >
Event Organiser – Вордпресов додатак | sr.WordPress.org
A full list of available extensions can be found here. ... I cannot navigate between months on the widget calendar. If clicking on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found