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

Issues when num-days is less than 7 #51

Open
matt-spx opened this issue Feb 13, 2019 · 5 comments
Open

Issues when num-days is less than 7 #51

matt-spx opened this issue Feb 13, 2019 · 5 comments
Assignees

Comments

@matt-spx
Copy link

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
Copy link
Collaborator

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.

@sirbeagle sirbeagle self-assigned this Feb 13, 2019
@matt-spx
Copy link
Author

matt-spx commented Feb 14, 2019

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
Copy link
Collaborator

@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
Copy link
Author

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
Copy link
Collaborator

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.

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