| Issue 2441: | Docs for eventRender/eventAfterRender, make clear that they are called once for each segment | |
| 2 people starred this issue and may be notified of changes. | Back to list |
View: agendaWeek I have registered a callback on eventAfterRender. Next I have rendered an event on the agendaWeek view via renderEvent. The rendered event starts exactly "Now" and ends exactly "Tomorrow", using moment() and moment().add(1, 'days'). I expected the callback to be triggered once, since only one event got rendered. The resulting behavior was however a double trigger of the callback. This happened because the rendered event spans across two columns in the agendaWeek table. If testing for an event that spans in three columns, the callback triggers three times, and so on. Please check this bare-bones JS Bin replication of the behavior http://jsbin.com/razequfofi/4/edit?html,css,js,output
Aug 21, 2015
Discussion for this issue has moved to the following URL: https://github.com/fullcalendar/fullcalendar/issues/2706 This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event. Happy coding, Adam
Status:
ExportedToGithub
|
|
| ► Sign in to add a comment |
Status: Accepted
Labels: Type-Docs