romansorochak / ParallaxHeader

Simple way to add parallax header to UIScrollView/UITableView written in Swift.
MIT License
1.03k stars 131 forks source link

Section title in group tableView is not hiding. #19

Open cs14rendra opened 6 years ago

cs14rendra commented 6 years ago

while scrolling on blurRoundIconParallax, the section title is showing above on parallaxHeader. it should hide inside header View. ScreenShot : https://imgur.com/a/k3ZHB I am following same code written on github. Thank you!

yayoro commented 6 years ago

I have the same problem.

janeshsutharios commented 6 years ago

@cs14rendra @yayoro Any workaround ?

yayoro commented 6 years ago

Hi @janeshsutharios I don´t find any solution yet. :(

ghost commented 6 years ago

@yayoro did you find a solution?

yayoro commented 6 years ago

@umbrella-daniil-vorobyev no, i didnt find any solution :( sorry!

wwy0918 commented 6 years ago

I have the same problem

catilac commented 6 years ago

I'm having the same issue. Is there a fix?

furiosFast commented 6 years ago

😭 same for me

furiosFast commented 6 years ago

no one have found the solution?

magneticrob commented 5 years ago

I fixed it. So the issue is that when UITableView reloads a UITableViewHeaderFooterView, or any section header, it places it at the top of the view stack. This leads to it appearing over the top of your parallax header.

So I subclassed UITableView, and just send it to the back of the stack on layoutSubviews(), so our header always appears over the top. If anyone finds a better solution, let me know. Here's a gist