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.

Min-height for timeGrid events. Render events by computed height

See original GitHub issue

Originally reported on Google Code with ID 691

Can you add a "Minimum event height" option to stop the events becoming too thin to
read?  I've got events in my calendar that are only 5 minutes long and they appear
as 4 pixel tall boxes with no text in them.  It would be great if they stopped shrinking
at about 15 pixels so the title was still visible.

Thanks

Russell

Reported by russell.godsmark on 2010-10-29 10:30:38

Imported with 15 stars.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:14
  • Comments:25 (16 by maintainers)

github_iconTop GitHub Comments

10reactions
thegiantbeastcommented, Dec 29, 2020

@arshaw I’m having the same problem for short events and tried the agendaEventHeight but it seems it was removed on v5, then I looked into using min-height for .fc-media-screen .fc-timegrid-event-harness selector, which was described in this thread too, and although it kinda works, the events that overlap start to be hidden behind each other, so it seems the library doesn’t take the computed styles into consideration when rendering the events.

then I found eventMinHeight which is exactly what I wanted and it works as expected, the thing is on source code it says it should be killed…

I’m not sure which solution is available for v5 anymore. Couldn’t find any reference on the docs, but my question is mostly, is eventMinHeight that bad that needs to be removed? what are the drawbacks?

8reactions
fsboehmecommented, Oct 18, 2016

+1 – this is what my day view looks like in some cases where events are short

league___tournament_scheduler___leaguelobster___and_google_hangouts_-_fsboehme_gmail_com

Read more comments on GitHub >

github_iconTop Results From Across the Web

Min-height for timeGrid events. Render events by computed height -
Originally reported on Google Code with ID 691. Can you add a "Minimum event height" option to stop the events becoming too thin...
Read more >
timeGridEventMinHeight - Docs v4 - FullCalendar
Guarantees that events within the TimeGrid views will be a minimum height. ... to force all TimeGrid view events to be at least...
Read more >
How to trigger the change in the number of daily events on ...
It appears that this number is computed on the first page render and then never recomputed. Is there a way to trigger a...
Read more >
How To Set The Fullcalendar Event Height In Resource ...
Min-height for timeGrid events. Render events by computed height. fullcalendar. 19 August 2015 Posted by arshaw.
Read more >
Very Basic fullCalendar 2.3.3 with multiple events constraint to ...
By default, all elements that are shorter than the recommended height are ... return segs; } }); ;; /* Event-rendering methods for the...
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