Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Issue with plain table view with sections and search bar in header #17

Closed
dron4eeek opened this issue Jul 28, 2014 · 13 comments · Fixed by #97
Closed

Issue with plain table view with sections and search bar in header #17

dron4eeek opened this issue Jul 28, 2014 · 13 comments · Fixed by #97
Labels

Comments

@dron4eeek
Copy link

Hello, I am using component on view with tableview witch have refresh control, searchbar in header, sections and index bar.
The issue is that table header goes under white gap when nav bar scrolls up, the sections issue that they stop under standart navigation bar place.
Wich solution can I use here?

Thank you!

@Mazyod
Copy link
Contributor

Mazyod commented Aug 3, 2014

Hmm... That's a pretty complicated setup. If it's not an edge case that should be handled explicitly, I am guessing it would need to be resolved along side issue #7

I may not have the time to look into this now, but hopefully soon.

@Mazyod Mazyod added the bug label Aug 3, 2014
@insanj
Copy link

insanj commented Aug 6, 2014

@Mazyod I've also noticed the issue with headers; the issue appears unrelated with using search bars or other uncommon setups. Although an embedded UITableView with group style works perfectly, the plain style sectionHeaders will be stuck at the offset calculated below the navigation bar (even when the navigation bar is hidden) in all cases I've observed.

@Mazyod
Copy link
Contributor

Mazyod commented Aug 7, 2014

@insanj Yeah, that makes sense, and if we fix the translucent bars issue, the section headers issue will be solved. The reason they are stuck there is because the component changes the contentOffset around, rather than the frame. By changing the frame, the section headers will be moved all the way underneath the hidden navbar.

@valheru7
Copy link

valheru7 commented Aug 8, 2014

Yeah I'm experiencing this too

@dabeck
Copy link

dabeck commented Aug 28, 2014

+1

@richarddas
Copy link
Contributor

Just to clarify, are you saying that the component should be refactored to change the frame rather than the contentOffset?

@Mazyod
Copy link
Contributor

Mazyod commented Sep 8, 2014

@richarddas Yup, exactly. If you see the facebook app, you can notice the scroll indicators moving to the top, as the navbar contracts.

@richarddas
Copy link
Contributor

That's a pretty major job then, I assume. Supporting headers or refresh controls or the like would make the component more complete though. Count me in on the waiting list. If I have more time over the next month+ I can probably help — I either have to fix this issue, or find a different solution for my client.

If you can put together an overview of what's involved, I will certainly see what I can do.

@CavalcanteLeo
Copy link

+1

1 similar comment
@jwardle
Copy link

jwardle commented Apr 30, 2015

+1

@marcocattai
Copy link

+1

  • when used with a UISearchBar/SearchDisplayController it doesn't work properly.

There is no way cancel the contraction of the navBar when the user tap on UISearchBar while the navBar is hiding with its animation because the tableView was scrolling. The UISearchDisplayController will show its TableView but the NavigationBar with the searchBar is now hidden.

@stefanomondino
Copy link

+1

1 similar comment
@efremidze
Copy link

+1

@Mazyod Mazyod mentioned this issue Nov 15, 2015
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.