| Issue 427: | Invalid argument error in IE8 when fullcalendar rendered on hidden tab | |
| 1 person starred this issue and may be notified of changes. | Back to list |
When fullcalendar is rendered on a hidden jQuery tab, IE8 throws an
invalid argument error at line 1505:
// set event widths
for (i=0; i<segCnt; i++) {
seg = segs[i];
if (eventElement = seg.element) {
eventElement[0].style.width = seg.outerWidth -
seg.hsides + 'px';
}
}
Altering the tabs styling to hide left fixes the issue, but causes other
problems in my app (see:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_
work_when_placed_in_a_hidden_.28inactive.29_tab.3F).
Should fullcalendar be checking to see if it is visible prior to rendering?
Although a fix would be preferable, is it possible to disable automatic
rendering of the calendar? If so, I could just perform the actual
rendering using the tabshow event.
Many thanks in advance.
Mar 30, 2010
#1
jprof...@gmail.com
Mar 30, 2010
fullcalendar does check to see if it is visible before rendering. what version are you using? more info on tab-related stuff here: http://arshaw.com/fullcalendar/docs/display/render/ if you are still having this problem, please post a working example demonstrating it (either online demo, or a zip with runnable html file + all requirements)
Apr 26, 2010
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |