replete-repl / replete-ios

ClojureScript REPL iOS app
Eclipse Public License 1.0
395 stars 25 forks source link

scrolling can be jumpy #30

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

If you have a sufficient amount of history showing and you try to scroll, it stutters. It can become smooth if you scroll up and down until you evaluate another form.

mfikes commented 9 years ago

See https://github.com/smileyborg/TableViewCellWithAutoLayoutiOS8/issues/17

mfikes commented 9 years ago

I've committed what should be a fix, but not working.

kahunamoore commented 9 years ago

From a trusted source: "19581195 appears to be fixed in iOS 9 :) A possible workaround might be to cache the true row heights during scrolling and return them from -tableView: heightForRowAtIndexPath:, rather than always using UITableViewAutomaticDimension."

Hope this helps.

mfikes commented 9 years ago

@kahunamoore Sweet. Easy enough to try!

mfikes commented 9 years ago

@kahunamoore Calculating and cacheing is probably more work than I thought. But, I did confirm that it is indeed fixed in iOS 9. So, I think I'll just close this issue and not worry about working around in iOS 8.