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

Move back and it scrolls to top #16

Open
uzman opened this issue May 14, 2015 · 5 comments
Open

Move back and it scrolls to top #16

uzman opened this issue May 14, 2015 · 5 comments

Comments

@uzman
Copy link

uzman commented May 14, 2015

Hi,
there is a problem.

  • i scroll down,
  • open a detail view controller
  • then move back and scrollview always moves to top.

i tried it on iOS 7.1 and 8.3.

can you help?

@stoprocent
Copy link
Owner

Can you attach some sample code. I cant help you without more details man

@uzman
Copy link
Author

uzman commented May 15, 2015

i tried with your sample.
i put a Button in scrollview (Scroll2 tab), it opens a new view controller.

-(IBAction)openTest:(id)sender{
TestViewController *vc = [[TestViewController alloc] initWithNibName:@"TestViewController" bundle:nil];
[self.navigationController pushViewController:vc animated:YES];
}

  • i scroll down first.
  • then open the test view controller
    when i swipe back, scrollview moves to top.

@stoprocent
Copy link
Owner

Ok I will have a look and let you know :)

@maxep
Copy link

maxep commented May 22, 2015

Hi @stoprocent !
I have the same issue on the MXSegmentedPager. Going back on a navigation controller will cause a recall to setParallaxHeaderView:mode:height: which will add the header instead of replacing it. I guess the setParallaxHeaderView:mode:height: should remove the current header before setting a new one.

I take the occasion to thank you for this project. I've tried several parallax header to integrate, but your one was the most generic and well designed!

Maxime

@stoprocent
Copy link
Owner

Guys Im so loaded at current work it's hard to find some time to address issues like this.
I will try to find some time very soon

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

3 participants