Coder Social home page Coder Social logo

Comments (4)

Mazyod avatar Mazyod commented on May 18, 2024

Hi @rabzu
I think you should disable the shyNavBarManager in keyboardWillAppear:. If that doesn't help, try adding [self.navBarController expand]; inside the setDisable method of the shyNavBarManager

from tlyshynavbar.

rabzu avatar rabzu commented on May 18, 2024

Thanks @Mazyod

I realised that navbar draws on top of the table view when I change the UITableView inset. How can I disable this?

I tried your advice, but it did not work. I also tried contracting the navbar via a public method that i added to the shyNavBarManager, but that did not work either plus the navbar was jerky.

However, instead in shyNavBarManager I just uncommented:

//  [self.navBarController expand];

in

- (void)layoutViews

And now it works.

However, I just noticed that this creates a new problem: When UITableView is displayed for the first time and I tap and hold the table and slowly scroll up, the nav bar contracts immediately and space is displayed instead. but this never repeats when I continue scrolling.

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 18, 2024

Yeah, the reason it immediately scrolls up is because of cached variables not being reset, since the expand call has been removed.

This is a touch edge case, will need further investigation.

from tlyshynavbar.

Mazyod avatar Mazyod commented on May 18, 2024

The new version doesn't support UITableViewController, and many parts were rewritten, so I hope that resolves this issue.

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.