DayFlow-Sample icon indicating copy to clipboard operation
DayFlow-Sample copied to clipboard

view jumps on scrollback in history

Open ilteris opened this issue 12 years ago • 2 comments

This only happens when scrolling back in history:

if (pickerCollectionView.contentOffset.y < 0.0f) condition becomes true and calls appendPastDates and that calls shiftDatesByComponents, so I am guessing jump is something to do with section height calculation. 

ilteris avatar Dec 22 '13 06:12 ilteris

Interesting. Is this an iOS 7 thing?

On Dec 22, 2013, at 2:25 PM, ilteris [email protected] wrote:

This only happens when scrolling back in history:

if (pickerCollectionView.contentOffset.y < 0.0f) condition becomes true and calls appendPastDates and that calls shiftDatesByComponents, so I am guessing jump is something to do with section height calculation.

— Reply to this email directly or view it on GitHubhttps://github.com/evadne/DayFlow-Sample/issues/1 .

evadne avatar Dec 22 '13 21:12 evadne

Yes, I am on iOS 7. I haven't tried it on iOS 6.

On Dec 22, 2013, at 4:30 PM, Evadne Wu [email protected] wrote:

Interesting. Is this an iOS 7 thing?

On Dec 22, 2013, at 2:25 PM, ilteris [email protected] wrote:

This only happens when scrolling back in history:

if (pickerCollectionView.contentOffset.y < 0.0f) condition becomes true and calls appendPastDates and that calls shiftDatesByComponents, so I am guessing jump is something to do with section height calculation.

— Reply to this email directly or view it on GitHubhttps://github.com/evadne/DayFlow-Sample/issues/1 . — Reply to this email directly or view it on GitHub.

ilteris avatar Dec 23 '13 00:12 ilteris