Skip to content

Uncaught TypeError: Cannot read property 'isHiddenDay' of undefined #5592

Description

@YogliB

I've created a Svelte implementation of FullCalendar and I have issues upgrading to v5.

I use rollup as my builder and a postcss plugin for the styles, and tried to follow this guide.

I try to initialize the calendar with these options:

let options = {
	initialView: 'dayGridMonth',
	plugins: [dayGridPlugin],
};

This is what I get in the browser's console:

main.js:8102 Uncaught TypeError: Cannot read property 'isHiddenDay' of undefined
    at new DaySeriesModel (main.js:8102)
    at DayTableView.buildDayTableModel (main.js:1080)
    at DayTableView.buildDayTableModel (main.js:983)
    at DayTableView.render (main.js:1069)
    at T (preact.module.js:1)
    at g (preact.module.js:1)
    at j (preact.module.js:1)
    at T (preact.module.js:1)
    at g (preact.module.js:1)
    at T (preact.module.js:1)
  • This is the component implementation.
  • I can't actually upload a live demo since I need a postcss plugin to handle the css-in-js.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions