-
Notifications
You must be signed in to change notification settings - Fork 348
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
how to set default start time 8 AM for each day of calender #352
Comments
Is it a duplicate of #34? |
No..I want to set 8AM the default start time of calendar for each day. If user want to see above and below time, he can scroll up and down. |
Would Just try using it like this:
Let me know if this is an appropriate solution to your problem |
yes its work..but when we click on another date ..its automatically shift to 12:00 AM. |
|
yes, when i try to write scroll code in this method its working.. but their some jerk ...means its first show 12:00 for some millisecond then directly move to 8:00 AM |
Could you please attach a video? Thanks |
Screen.Recording.2023-02-27.at.3.56.14.PM.movPlz check in this video |
And the exact code you're using for this? Maybe try using 'willMoveTo' instead of 'didMoveTo'? Let me know if there is any difference. |
No , when i move that line to willMoveTo..then nothing are happing. |
And do you use |
yes on didMoveTo and same on willMoveTo. |
Ok, I've changed this to enhancement. Would you be willing to make relevant changes to the CalendarKit to implement this feature? I can briefly explain how to achieve this functionality. |
yes if you will help me..i will make changes. |
Looks like this will need quite a big refactoring to make it posible. Unfortunately, CK doesn't keep the scroll position in the case of selecting a date via the header. Please take a look at this code, as you see, the I suggest for your case just use the method I've suggested, but with the |
oky..let me check this one..Thanks |
Please keep me updated on whether you resolve this issue either by my suggestion or by any other means... |
No description provided.
The text was updated successfully, but these errors were encountered: