Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with views #39

Closed
paubikas opened this issue Apr 26, 2022 · 4 comments
Closed

Bug with views #39

paubikas opened this issue Apr 26, 2022 · 4 comments

Comments

@paubikas
Copy link

In 0.10v there is a bug if you using a different view than the 'timeGridWeek' calendar messes up:

'resourceTimeGridDay':

image

In timeGridWeek view:
image

If you press on Week button and go back to the other view everything works again as it should

@vkurko
Copy link
Owner

vkurko commented Apr 26, 2022

I cannot reproduce this on the demo. Can you?

There is a CSS issue in v0.10.0 which is going to be fixed in v0.10.1 but that issue leads to different results than on your screenshots..

@paubikas
Copy link
Author

Yes, I can.

You only see this bug if your starting view is "resourceTimeGridWeek":

let ec = new EventCalendar(document.getElementById('ec'), { view: 'resourceTimeGridWeek', height: '800px', headerToolbar: { start: 'prev,next today', center: 'title', end: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek resourceTimeGridWeek' }, buttonText: function (texts) { texts.resourceTimeGridWeek = 'resources'; return texts; }, resources: [ {id: 1, title: 'Resource A'}, {id: 2, title: 'Resource B'} ], scrollTime: '09:00:00', events: createEvents(), views: { timeGridWeek: {pointer: true}, resourceTimeGridWeek: {pointer: true} }, dayMaxEvents: true, nowIndicator: true });

But if you use other starting view everything works just fine

@vkurko
Copy link
Owner

vkurko commented Apr 26, 2022

@paubikas yes I see the issue, thank you! It will be fixed in v0.10.1.

@vkurko
Copy link
Owner

vkurko commented Apr 26, 2022

v0.10.1 is available now 😄

@vkurko vkurko closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants