My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1190: Error on first loading in browser
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by li...@ioom.se, Nov 23, 2011
Hi!
When i load my page the first time in a new-opened browser the fullcalendar content breaks. If i reload the page, it's working just fine. 

I have uploaded a more detailed error descrition on stackoverflow:
http://stackoverflow.com/questions/8228969/fullcalendar-wrong-size-on-first-load


Oct 18, 2012
#1 cpan...@gmail.com
Hi, I had the same issues as well. Just thought I would put my own specific info in case it helps narrow down the problem.

I only saw this using Google Chrome.
Similar conditions - only loading the page the first time in a newly opened browser window. 
This also only occurred when fullcalendar was in a hidden window (specifically, I was using tabs in JQuery)

The stackoverflow page you linked to has two suggested solutions. Using "setTimeout" to do a delayed render worked for me. Using the tabs "show" function to render as the tab is being displayed did not work for me.  (From a brief bit of debugging, it seems that the show re-rendering actually attempted to take place before fullcalendar was even done loading all its data)

Hope this info is helpful.


Mar 23, 2013
#2 javier.u...@gmail.com
I had experienced a similar issue and I found that the solution provided in the documentation (http://arshaw.com/fullcalendar/docs/display/render/) may work fine for old JQuery-UI versions.
If you are using the last JQuery-UI you should use 'activate' event instead of 'show'.
I've tested it with JQuery-UI version 1.10.1

You can even check for 'ui.newPanel.selector' to only call 'render' method when needed.
Aug 14, 2013
Project Member #3 adamrs...@gmail.com
yes, the `render` method is the solution
Status: WontFix
Sign in to add a comment

Powered by Google Project Hosting