-
Notifications
You must be signed in to change notification settings - Fork 808
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
Visible scrolling when trying to start calendar at a certain date #263 #1304
Comments
Thanks for your support. |
Thanks!!
…On Thu, Jan 14, 2021 at 3:34 PM PatchTheCode ***@***.***> wrote:
Thanks for your support.
Will have to take a look over the weekend.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1304 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHD5UIGMELHUNNJ72YMRM43SZ55RZANCNFSM4WAOI6BQ>
.
|
Hi. Any progress on this? I'm experiencing the same on 2024 which is a bit disappointing |
@vitaliichernysh i think the fastest way to heklp me resolve this is to provide a minimal app which recreates this issue. Edge case bugs are very hard to find based on code. Often, its one tiny setting based on your app. |
(Required) Version Number:
JTAppleCalendar 8.0.2
Description
Absolutely love JTAppleCalendar. Using it in production apps for about two years now. But, I recently ran into an issue. I am having the same issue as
Issue #263
.I want the calendar to be on a selected date when it first appears, so I do calendarView.scrollToDate(selectedDate) at viewDidLoad().
When I go to the calendar's view controller, I can see the starting month flash very quickly, and then the selected month shows up (even if I use animateScroll = false). This is very quick in the simulator, but very apparent on my iPhone 6 (running iOS 12.4.9). For example, you can clearly see September 2020 show up before the calendar changes over to show January 2021.
Steps To Reproduce
Here is my code:
Expected Behavior
As you can see, my code is pretty boilerplate. Not a whole lot of customization going on. But when I load the view, I expect it to go right to the selected date, not flash the initial month first.
Additional Context
I've tried putting the
scrollToDate
code inviewWillAppear
as well asviewDidLayoutSubviews
, but to no avail. I'm using Xcode 11.3.1, if that helps.The text was updated successfully, but these errors were encountered: