Comments (13)
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.
from tlyshynavbar.
@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.
from tlyshynavbar.
@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.
from tlyshynavbar.
Yeah I'm experiencing this too
from tlyshynavbar.
+1
from tlyshynavbar.
Just to clarify, are you saying that the component should be refactored to change the frame rather than the contentOffset?
from tlyshynavbar.
@richarddas Yup, exactly. If you see the facebook app, you can notice the scroll indicators moving to the top, as the navbar contracts.
from tlyshynavbar.
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.
from tlyshynavbar.
+1
from tlyshynavbar.
+1
from tlyshynavbar.
+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.
from tlyshynavbar.
+1
from tlyshynavbar.
+1
from tlyshynavbar.
Related Issues (20)
- Not hide nav hide text only
- Navigation bar corrupted (can recreate in TLYShyNavBarDemo)
- Issue when adding/removing navigationItems while navigation bar is contracted
- Fade the entire navbar can not work when use tableview
- the code works not well in pageViewcontroller HOT 1
- Multiple extensionViews
- bug HOT 1
- Nav Bar gets stuck midway through transition state when using the interactivePopGestureRecognizer HOT 2
- When I click on the status bar twice, the effect is different.
- Statusbar is gone / get "overlapped" HOT 4
- TLYShyNavBar not working, UITabBarController HOT 1
- -[UIViewController tly_swizzledViewWillAppear:]: unrecognized selector sent to instance 0x10355e750
- Cannot work on iPhone X. HOT 5
- iOS 11 Large gap above scroll view HOT 6
- iOS 11 Fade no longer works HOT 4
- Is there no way to have navBar in the same state it was it when a view controller was pushed to it?
- Hiding/Expanding navigationbar is not working on ios 11 with xcode 9
- Failed to Render and update auto layout status for MYViewController HOT 1
- Support for iOS 12 and Xcode 10 beta HOT 1
- Extra distance between UINavigationBar and ExtensionView after a rotation. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tlyshynavbar.