TonicArtos / StickyGridHeaders

This project has been superseded by SuperSLiM, a layout manager for RecyclerView. I strongly recommend using SuperSLiM and not StickyGridHeaders.
http://tonicartos.com
Apache License 2.0
1.47k stars 442 forks source link

Visual artifact: fast scroll appearing on the left side #54

Closed UweTrottmann closed 11 years ago

UweTrottmann commented 11 years ago

I enable fast scrolling for your grid view. When scrolling completely down, the fast scrolling indicator jumps to the left side. Any idea what could be causing this? Something between 1.0.1 and your current latest snapshot must have changed.

See also https://github.com/UweTrottmann/SeriesGuide/issues/316 for a screenshot.

Background: I updated to your latest snapshot to fix some drawing issues (black patches/backgrounds) when building with gradle for Android 4.3.

TonicArtos commented 11 years ago

At the moment I have no idea. I'll try a bisect and see which commit introduces the fault.

UweTrottmann commented 11 years ago

I just saw that you have a sample app and I could reproduce it there, too. Actually the scroll bar does not duplicate, but it jumps to the far left and the scroll position indicator is at the very top.

I enabled fast scrolling via XML in fragment_item_grid.xml and targeted and built for API level 18.

TonicArtos commented 11 years ago

Okay, I've taken a look myself now, there is definitely something strange going on, I have a slightly different manifestation on my end. Did you say the problem wasn't present in 1.0.1?

TonicArtos commented 11 years ago

Bug is introduced in 46f945725c3cfc74c5601672f303863cde212f58.

TonicArtos commented 11 years ago

Thanks for pushing this issue up to me, it turned out to be a simple accounting error on my part.

UweTrottmann commented 11 years ago

Confirming this fix, wohoo! Thanks for the quick response.

TonicArtos commented 11 years ago

You're welcome :)