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

flicketing while reloading #11

Closed
aminasadi0 opened this issue Mar 16, 2015 · 3 comments
Closed

flicketing while reloading #11

aminasadi0 opened this issue Mar 16, 2015 · 3 comments

Comments

@aminasadi0
Copy link

Hi again,

There is a flickering of the dates collection view to while reloading which obvious. Is it normal or I'm not doing good in datasource. I see the dots fot events show up in other dates for small fraction of time and disappear.

@WenchaoD
Copy link
Owner

That happend after one day cell which is 'today' or 'selected' is reused for another day. Have noticed that but not found a solution yet.

@WenchaoD
Copy link
Owner

Problem solved. In FSCalendarCell.m add this:

- (void)prepareForReuse
{
    [super prepareForReuse];
    [CATransaction setDisableActions:YES];
}

I'll make a new release soon, thanks for reporting:)

@aminasadi0
Copy link
Author

Awesomeeeee

On Mon, Mar 16, 2015 at 5:11 PM, Wenchao Ding notifications@github.com
wrote:

Problem solved. In FSCalendarCell.m add this:

  • (void)prepareForReuse
    {
    [super prepareForReuse];
    [CATransaction setDisableActions:YES];
    }
    I'll make a new release soon, thanks for reporting:)

    Reply to this email directly or view it on GitHub:
    flicketing while reloading #11 (comment)

WenchaoD pushed a commit that referenced this issue Mar 16, 2015
1. Make selectedDate writable
2. Fix cell blink problem #11
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