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

Feature/add in multiple ranges #160

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

akado117
Copy link

Added in multi range support via HOC via inspiration from withMultipleDates and withRange
withMultipleRanges(Calendar)
Click anywhere on established ranges to modify. By clicking on the start date during modification range is deleted.
Header functionality is a combo of withRange and withMultipleDates. Shows whatever range is active. Can toggle between ranges with arrows as in withMultipleDates. By clicking on year, show range selection (also toggleable with arrows), clicking day on header focuses day.

This is my First PR, please feel free to offer critiques and advice ^.^

akaidc2 added 3 commits November 16, 2017 16:26
…nges just like with multipleDate

Click anywhere on a range to edit, while editing click on the start date to remove.
Still requires keyboard support and header cleanup. (will combine current multi-date and range functionality into one)
header click events work correctly now based upon multidate and withRange
akaidc2 added 2 commits November 17, 2017 14:10
…what date will be displayed after the calendar gets caught in a render cycle.

Also added update index to the eventData object passed back from multipleRange onSelect
@clemmy clemmy mentioned this pull request Feb 9, 2018
@ivansglazunov
Copy link

Is PR still relevant?

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

Successfully merging this pull request may close these issues.

None yet

2 participants