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.

the events are not showing

See original GitHub issue

Hi,

I’m using kalend with next.js and for that I had to use the dynamic function to not render server-side.

I’m trying to display events from a fixed state and yet I don’t know what I might be doing wrong as they aren’t being displayed.

Any suggestions?

const KalendWithNoSSR = dynamic(
  () => import('@/src/components/pages/kalend'),
  { ssr: false }
)

image

image

No error is shown. Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
nibdocommented, Dec 31, 2021

Thanks, I checked it. I could make it work, you just have to be sure that parent elements have some height.

For start, try to set body and all parent elements to width, height 100% and then you can adjust it to your needs. Basically Kalend has default height and width to 100% and it is inheriting it from your parent element/s. Or you can also set hard values like height: 500px for “<main>” but I think most people need something more dynamic.

Didn’t look at how is this element with id “#__next” used, but you might set it to some height and width too, because by default it doesn’t have width, height. next

0reactions
kengkreingkraicommented, Dec 1, 2022

In my case, I need to calculate the parent’s height for the Kalend But for the first time, Kalend has rendered there are no events displayed, I have to do something that will refresh the Kalend size to get it work

Anyway, I saw the height of Kelend always equals zero for the first time. (the onStateChange props)

So, I do something for workaround image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Event Listings Not Showing Up In The [events] Page
Go to your events page, · If you are using the Chrome Browser, right click on the page and click on the inspect...
Read more >
All the events are not showing in calendar - Documentation
Cause #2: Event Date. Compare the front-end calendar and backend events you have added. Identify the event that is not showing in the...
Read more >
What to Check if Calendar Events are Not Showing
If you find your events are 'disappearing', or are not showing up after you add them, here are some things to check: Hidden...
Read more >
Events not showing on calendar/list view - WordPress.org
I have posted a few events in May and the month view is here: ... Events not showing on calendar/list view. Resolved leemarquis....
Read more >
Top 5 Ways to Fix Windows 10 Calendar Not Showing Events
Top 5 Ways to Fix Windows 10 Calendar Not Showing Events · 1. Re-Establish Calendar Sync · 2. Confirm Synchronization Capabilities · 3....
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