Giter Site home page Giter Site logo

Comments (13)

Mazyod avatar Mazyod commented on May 22, 2024

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.

insanj avatar insanj commented on May 22, 2024

@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.

Mazyod avatar Mazyod commented on May 22, 2024

@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.

valheru7 avatar valheru7 commented on May 22, 2024

Yeah I'm experiencing this too

from tlyshynavbar.

dabeck avatar dabeck commented on May 22, 2024

+1

from tlyshynavbar.

richarddas avatar richarddas commented on May 22, 2024

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

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 22, 2024

@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.

richarddas avatar richarddas commented on May 22, 2024

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.

CavalcanteLeo avatar CavalcanteLeo commented on May 22, 2024

+1

from tlyshynavbar.

jwardle avatar jwardle commented on May 22, 2024

+1

from tlyshynavbar.

marcocattai avatar marcocattai commented on May 22, 2024

+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.

stefanomondino avatar stefanomondino commented on May 22, 2024

+1

from tlyshynavbar.

efremidze avatar efremidze commented on May 22, 2024

+1

from tlyshynavbar.

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.