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.

day boxes missing

See original GitHub issue

The screenshot below shows what I’m seeing. When I inspect the DOM I see that the calendar is rendered by a table element. It has a thead, but no tbody where I expected to see the boxes for each day in the month. Is there something more I need to do than is shown in the getting started instructions to get those to appear?

I have the following plugins installed: daygridPlugin, timegridPlugin, and interactionPlugin.

Here is my options object that I copied from the working example link:

  let options: CalendarOptions = {
    dateClick: handleDateClick,
    droppable: true,
    editable: true,
    events: [
      // initial event data
      {title: 'New Event', start: new Date()}
    ],
    initialView: 'dayGridMonth',
    plugins: [daygridPlugin, timegridPlugin, interactionPlugin],
    headerToolbar: {
      left: 'prev,next today',
      center: 'title',
      right: 'dayGridMonth,timeGridWeek,timeGridDay'
    },
    height: '100%',
    weekends: true
  };

Screen Shot 2022-04-17 at 9 42 26 AM

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vhscomcommented, Apr 18, 2022

I’d start by peeling back the plugins one by one as well as simplifying the config as much as possible until you find the point at which the issue begins to determine where the issue lays. There’s an 82% chance it’s a full calendar issue, a 10% chance of an integration issue and the rest I’ll leave to your imagination.

Also, when posting issues, please note it’s very difficult to debug without a minimum reproduction. If you have public code in a repository you could share demonstrating the issue, it’s likely you will receive help faster than if not provided.

0reactions
YogliBcommented, Apr 30, 2022

It seems like a CSS issue, height: 100% means that FC would take 100% of it’s parent’s height, and in the example the parent Div has the flex-grow property that sets its height.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing Mail and Lost Packages - USPS
If you're dealing with a lost package or mailpiece, USPS can help with a Missing Mail Search. Learn how to find lost mail,...
Read more >
The Missing Box - YouTube
We can go through life checking all of the boxes that are supposed to make us happy, but sometimes we miss things. Josh...
Read more >
God's Holy Box : Missing, But a Better Throne is Coming
The Lord said, “Once your land is filled with people again (and it will be!), you aren't going to wish anymore for the...
Read more >
Box marked as missing : r/hellofresh - Reddit
We had a box marked lost a couple weeks ago, our delivery day is Saturday, HF emailed me on Monday and shipped a...
Read more >
I Miss You Box - Etsy
Check out our i miss you box selection for the very best in unique or custom, handmade pieces from our spa kits &...
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