Giter Site home page Giter Site logo

Comments (21)

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024 1

I just release a new version.
Check the Example project.

This bug should be gone.

from jtcalendar.

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024

It's very strange. I know a have a problem when the calendar appear, it's 2 month before and only when viewDidAppear is call it's on the good month. I create a new project with a navigation controller and when i click on the back button there is no problem. You may have confused viewDidAppear and viewDidDisappear.

from jtcalendar.

soniacasas avatar soniacasas commented on May 3, 2024

Hi @jonathantribouharet, I try it in the example that comes with the project and i Added a NavViewController to the storyboard, connect it the table with the view. and I see the Same behavior.

I'm using iOS8 on my test device.

from jtcalendar.

soniacasas avatar soniacasas commented on May 3, 2024

sin-titulo-3
Maybe with this I can Explain me Better!

Thanks!

from jtcalendar.

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024

I'm sorry i'm not very familiar with the storyboard but from what i see, you really have a problem because you see my calendar in another controller during the transition which is not possible with a normal code. Can you try to put a background color (not transparent) to your rootViewController.

from jtcalendar.

soniacasas avatar soniacasas commented on May 3, 2024

There's no Clear color on my RootVC, The Calendar is Over the Root... I'm solving this using ViewWill Disappear... but i don't know if this is a good solution.

-(void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
    [self.calendarContentView setHidden:YES];
    [self.calendarMenuView setHidden:YES];
}

For the problem when the calendar appear... is not a solution yet, right?

from jtcalendar.

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024

It is not "the good solution" but it works and don't break anything. Keep this issue open, i will find out what's the problem when i will have more time.

from jtcalendar.

soniacasas avatar soniacasas commented on May 3, 2024

That Would be Awesome!!! Thanks So much!

Should I open another issue for when the calendar appear?

from jtcalendar.

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024

No for that i'm aware, in 10 to 15 days i will fix that.

from jtcalendar.

chrismeats avatar chrismeats commented on May 3, 2024

Hello, I am receiving the same issue. When this is in a nav controller and I navigate back to my root VC the calendar lingers for a bit.

from jtcalendar.

dehlen avatar dehlen commented on May 3, 2024

Same problem here. Did someone have a look at this bug ? Bug Fix would be appreciated :)

from jtcalendar.

soniacasas avatar soniacasas commented on May 3, 2024

what i just did is hide the view on WillDissapear and show it en WillAppear, it's a solution while a better one come to us.

from jtcalendar.

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024

I didn't have the time to check the problem yet.

from jtcalendar.

megabri avatar megabri commented on May 3, 2024

Hi, same problem here.

from jtcalendar.

hirenpanchal1608 avatar hirenpanchal1608 commented on May 3, 2024

Hello,
I same problem here,
After displaying calendar view in previous view for 1 OR 2 seconds, application is crashed.
I am using iOS8 SDK.

Thanks in advance.

from jtcalendar.

artemkalinovsky avatar artemkalinovsky commented on May 3, 2024

I had this issue too and my fix is:
--(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
[self.calendarContentView setHidden:NO];
[self.calendarMenuView setHidden:NO];
}
--(void)viewWillDisappear:(BOOL)animated
{
[self.calendarContentView setHidden:YES];
[self.calendarMenuView setHidden:YES];
[super viewWillDisappear:animated];
}

from jtcalendar.

megabri avatar megabri commented on May 3, 2024

Fantastic artemkalinovsky it works great now.
Thank you very much.

from jtcalendar.

artemkalinovsky avatar artemkalinovsky commented on May 3, 2024

megabri, great!

from jtcalendar.

artemkalinovsky avatar artemkalinovsky commented on May 3, 2024

Also I found that checking "Clip Subviews" option for both calendar views fix this issue and you shouldn't do any stuff in you viewWillAppear and viewWillDisappear.

from jtcalendar.

jonathantribouharet avatar jonathantribouharet commented on May 3, 2024

I update my code by setting self.clipsToBounds = YES; for both view, I thought it was already did.
Thank you @artemkalinovsky .

from jtcalendar.

FrizzTheSnail avatar FrizzTheSnail commented on May 3, 2024

Hi, I had the 'crash after back' bug in my navcontroller using storyboard.
Solved adding this to my view (some dirty but worked):

  • (void)dealloc
    {
    self.calendar.dataSource = nil;
    self.calendar.menuMonthsView = nil;
    self.calendar.contentView = nil;
    }

from jtcalendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.