michielvaneerd / privategooglecalendars

Private Google Calendars Wordpress plugin
https://michielvaneerd.github.io/privategooglecalendars/
8 stars 4 forks source link

Day text is not seperated and scrolling is ugly #48

Closed theincogtion closed 11 months ago

theincogtion commented 2 years ago

While scrolling through a list the day title is mixed up with the text of the calender. grafik Especially ugly on mobile devices.

Can also be observed here: https://blog.michielvaneerd.nl/wordpress-plugins/private-google-calendars/ While watching on mobile.

Feel free to change the title of this request.

michielvaneerd commented 1 year ago

Hi I cannot reproduce this, also not on the URL you provides - see below:

Screenshot 2023-01-07 at 13 33 00

theincogtion commented 1 year ago

You have to scroll the list to see the problem. I can reproduce it on Firefox Mobile and Firefox Desktop: grafik On chrome it seems to work fine: grafik

michielvaneerd commented 1 year ago

Okay, this is a FullCalendar bug. This plugin uses FullCalendar to display the calendar. Maybe you can fill a bug report over there?

theincogtion commented 1 year ago

2 years old: https://github.com/fullcalendar/fullcalendar/issues/6230 https://github.com/fullcalendar/fullcalendar/issues/6896

michielvaneerd commented 1 year ago

Ah thanks, so this can be solved by setting the stickyHeaderDates property in the Gutenberg config, for example:

{
  "headerToolbar": {
    "start": "prev,next today",
    "center": "title",
    "end": "dayGridMonth,timeGridWeek,listWeek"
  },
  "stickyHeaderDates": false
}

Or when using the shortcode:

[pgc sticky_header_dates="false"]