Git Product home page Git Product logo

Comments (2)

nickoneill avatar nickoneill commented on July 26, 2024

Making this a UIViewController subclass that implements the table view controller delegates fiixed this, just gotta wrap up the work on it.

It really looks like this was something deep in the default UITableViewController setting automatic cell heights, and that was conflicting with the autolayout we were doing in the cells. IMHO, you have to pick one or the other and stick with it 100% in table views and even after removing all the auto dimension stuff I was still getting weird behavior.

from ios.

nickoneill avatar nickoneill commented on July 26, 2024

Actually all wrong!

It seems like this is tied to our custom nav header for this view (explains why the More Issues page never had this problem too), if I set tableView.contentInsetAdjustmentBehavior = .automatic then this behavior goes away, but the headers are double-inset, like below:

Screen Shot 2019-12-26 at 12 04 56 PM

Setting this back to tableView.contentInsetAdjustmentBehavior = .never makes the headers appear at the right location, but when scrolling the cells get all weird again.

I might check into adjusting how we add this view as a subview of IssueContainer - it's possible that changing the embed behavior will make the auto insets just work.

from ios.

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.