Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

scrollToPosition sometimes goes too far/not far enough #9

@PLNech

Description

@PLNech

Using your (awesome) library, I discovered a bug in the scrollToPosition feature of the carousel :

Context: Using the carousel on a list of 13 TeamMembers objects (dataholder with String values and a drawable res id) to display team avatars, and react to tap events by scrolling to the tapped member and opening an Alert with their name and links to their social network accounts.

Issue: When scrolling to a position at least 7 slots away from the initial one, the carousel scrolls either not far enough (when scrolling clockwise) or too far (when in the opposite direction). The error offset is always 1 or 2 positions away from the clicked one.

screenshot_2015-09-23-15-00-56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions