Oberhauser-Dev / gb-fullcalendar

GB FullCalendar is a branch of the popular WP FullCalendar plugin written as a Gutenberg block.
GNU General Public License v3.0
6 stars 3 forks source link

Event Display as 'list-item' in DayGrid doesn't render correctly for timed events #18

Open samuraii78 opened 4 years ago

samuraii78 commented 4 years ago

The HTML elements for 'list-item' are not rendered when overriding 'block'.

Currently if the option is changed globally for all events from 'block' to 'auto' or 'list-item' the event is not rendered correctly for timed events. Full day events look fine as they are block displayed by default.

Would there be any way of adding a customization to the way events are displayed i.e. 'list-item' in Daygrid?

Gustl22 commented 4 years ago

Thx for your Feedback. You are right. That has to do with the structure of MUI Tooltip (React) and its Integration in eventContent.

As a workaround: if disabling Tooltips in Settings you shouldn't get these results.

I try to fix this for most cases. But I hope there will be a direct solution by FC, where I can simply pass the existing event content through the MUI Tooltip :) Best regards.

samuraii78 commented 4 years ago

Thanks for the prompt response @Gustl22!

Disabling tooltips worked like a charm. Hope a fix is forthcoming for this. Really great work and excellent plugin. Looking forward to the RC release! =)

Best

Gustl22 commented 4 years ago

Good that it helped you. I leave this issue open until there's a reasonable fix for it :D

samuraii78 commented 4 years ago

Sure thing! 👌🏻😃