soffes / SSPullToRefresh

Simple and highly customizable pull to refresh view
MIT License
885 stars 139 forks source link

sectionIndexTitles jumps up and down when loading #46

Open brunnoferreira opened 10 years ago

brunnoferreira commented 10 years ago

Hi, @soffes.

First of all, I must say I've been using SSPullToRefresh for quite some time now and I love it. Thanks for a great component.

Recently, I ran into an issue, though. I tried attaching SSPullToRefresh to a UITableView that displays sectionIndexTitles (the index on the right side, for quickly navigation between sections).

Everything works as usual, but when SSPullToRefresh starts loading and the table contentInset is adjusted in _setContentInsetTop:, the positioning of index titles is affected, making the menu jump up and down. Although this happens only once per refresh, it doesn't make up for a great user experience.

Is there a known or proposed solution to make things work with tableViews displaying sectionIndexTitles?