stormseed / daykeep-calendar-quasar

A full event display calendar for the Quasar framework that has multiple viewing formats.
MIT License
270 stars 71 forks source link

Issues when num-days is less than 7 #51

Open matt-spx opened 5 years ago

matt-spx commented 5 years ago

When num-days is set to an amount less than 7 on calendar-multi-day, nav-days should override the force-start-of-week default. A good example is when num-days & nav-days are set to 1. The day/date appears to show the selected date (for example Tuesday, February 12, 2019) but will show the events for the Monday of that week.

sirbeagle commented 5 years ago

I think this might be related to a bigger problem I've been seeing since the last update where the workingDate isn't being carried through to all the components and is causing all sorts of weirdness with display and event dates. I'm looking into it.

matt-spx commented 5 years ago

I have a question which may be related. When using q-tabs, I could switch between single day and multiple days fine. But when using regular buttons and v-if to conditionally show either view, I run into problems. As an example, I'm in the single day view and navigate a day or two. When I switch back to my week view, only a single day column is rendered. Is there a specific event for which the calendar is listening on?

sirbeagle commented 5 years ago

@msinkgraven I would try updating to v0.3.3 and see if your problems still persist. There was some code reorganization in v0.3.2 that caused a bunch of unexpected problems so I'm curious if the latest update fixes them.

matt-spx commented 5 years ago

It seems as though the new version doesn't address this specific issue. Setting force-start-of-week to false does solve it for me though.

sirbeagle commented 5 years ago

Okay that makes sense. force-start-of-week is defaulting to true when not set which it really shouldn't be. I'll give that an update - thanks for following up.