You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently discovered a bug where if a page is using the eo_fullcalendar shortcode, has different view options available, and the user has selected a non-default view, the calendar will reset to the default view that is set. For example, if the page is using the following shortcode:
The calendar's default view will be the month grid view. But if the user selects the Week or Day view and resizes the window, the calendar will reset back to the month view. This was discovered because our custom theme uses a Javascript library that fires event listeners for the resize event to determine if the navigation bar should stick to the top of the window based on the height. Here's a screen recording of the issue:
Removing the else condition fixes that bug and allows the calendar to go into the responsive list view but it then breaks in the opposite direction and does not change the responsive list view into the grid view when the window is larger than the responsive breakpoint. I could also be totally off base and the issue could also lie in the fullCalendar library itself. If I can provide any other information or help, let me know. 👍
I've recently discovered a bug where if a page is using the
eo_fullcalendar
shortcode, has different view options available, and the user has selected a non-default view, the calendar will reset to the default view that is set. For example, if the page is using the following shortcode:The calendar's default view will be the month grid view. But if the user selects the Week or Day view and resizes the window, the calendar will reset back to the month view. This was discovered because our custom theme uses a Javascript library that fires event listeners for the resize event to determine if the navigation bar should stick to the top of the window based on the height. Here's a screen recording of the issue:
Event.Organiser.-.View.Toggle.Issues.mp4
I've also created a demo site with a page that uses the view options and has the bug and one that doesn't use the view options and does not have the bug.
It seems like this is caused by the frontend.js file on line 281:
Removing the
else
condition fixes that bug and allows the calendar to go into the responsive list view but it then breaks in the opposite direction and does not change the responsive list view into the grid view when the window is larger than the responsive breakpoint. I could also be totally off base and the issue could also lie in the fullCalendar library itself. If I can provide any other information or help, let me know. 👍Tested with:
The text was updated successfully, but these errors were encountered: