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

Selecting date programatically while it is a placeholder selects both the placeholder and the real cell in the next/ prev month. #124

Closed
IsmailHassanein opened this issue Oct 22, 2015 · 3 comments

Comments

@IsmailHassanein
Copy link

screen shot 2015-10-22 at 16 14 20
As you see in the screenshot. calling selectDate(date) for days 27, 28, 29 then 30.
When called it for 27 selected both 27 and the place holder 27 in the next month. then called it for 28 , deselcted 27 but left 27 place holder selected then selected both 28 and its place holder in next month... .

@WenchaoD
Copy link
Owner

Working on it, Thanks!

@WenchaoD
Copy link
Owner

Hi @Ishass
The original idea of this is to _not select_ the counterpart placeholder cell in Full-Screen mode. What do you think?

WenchaoD pushed a commit that referenced this issue Oct 24, 2015
1. If a cell is selected and the counterpart placeholder is tapped, the
delegate method should also be triggerred.

2. Prevent the counterpart placeholder to be selected if the calendar
is in vertical floating mode(pagingEnabled=NO & scrollEnabled=YES)

3. The behavior of (2) should be opened for discussion
@IsmailHassanein
Copy link
Author

@WenchaoIOS yes that's what I want. when I call selectDate(date) this day should be selected only and not the placeholder.
Thanks.

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