This repository was archived by the owner on May 29, 2019. It is now read-only.
Datepicker issue3879 - #4473
Closed
thalen wants to merge 14 commits into
Closed
Conversation
added 7 commits
September 23, 2015 12:21
Contributor
|
I'm not sure this solves the problem in an ideal way - this behavior should likely not be hidden behind a config flag for example. What are your thoughts on how it should be solved @Foxandxss ? |
added 7 commits
September 27, 2015 11:06
Contributor
|
Going to close this due to the age - the datepicker has changed quite a lot in the past couple of months, and I'm unsure this particular attempt is the right approach. Feel free to open a new PR based on current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This solves issue #3879, a problem regarding the datepicker.
I've added a method for date calculation. If a date is selected and the user moves to next or previous month, the date selection is kept if the date is visible in the new view. Otherwise no date is selected.
This also works when navigating via year or month mode.
I've added some tests for this new functionality, I've done some manually testing in Chrome, Firefox and IE9.
Regards,
Olle Thalén