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.

DayGridEventRenderer resizing from end, allowing resize on non-allDay or showing starting time on long-spanning(allDay) events

See original GitHub issue

Hey, in the DayGridEventRenderer.prototype.fgSegHtml function, there is a isResizableFromEnd variable, which includes these conditions: !disableResizing && isAllDay && seg.isEnd && view.isEventDefResizableFromEnd(eventDef) the isAllDay variable, which is allDay attr of the event var isAllDay = seg.footprint.componentFootprint.isAllDay; denies resizing of the event from end even if the event is 4 days long without the ‘allDay’ attribute - (i.e.: 15.1.2018 15:00 to 18.1.2018 15:00).

  • obvious fix to this would be setting allDay attr of these events to true, and altough it solves one of my problems, it creates another one, which is hidden starting time of such event spanning across multiple days

Is there any way we could get either an ‘option’ to allow resizing of non-allDay events or to show the starting time of such long-spanning events (keeping the allDay logic) ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
acerixcommented, Jan 17, 2018

To confirm, you are requesting an option for allDay events to show the start time in Month view?

0reactions
arshawcommented, Jun 25, 2020

this is probably no longer an issue with the v5 codebase

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resize event when time is not allDay fullcalendar
Your calendar uses "month" and "basic" style views. But neither of these views even allows resizing by time, only by day.
Read more >
Docs Event Dragging & Resizing - FullCalendar
Determines whether the events on the calendar can be modified. eventStartEditable. Allow events' start times to be editable through dragging.
Read more >
Resizing events does not seem to work properly - Drupal
Every time I resize an event the end date gets set to previous day 00:00 am and start date gets set to current...
Read more >
Window: resize event - Web APIs | MDN
The resize event fires when the document view (window) has been resized. This event is not cancelable and does not bubble.
Read more >
addons-drag-and-drop-introduction - GitHub Pages
Set resizable to false in your calendar if you don't want events to be resizable. ... receiving an object with start and end...
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