Skip to content

ioslist-animated left applied to groups #12

@iamdriz

Description

@iamdriz

If some groups only have one item or none and the user scrolls up and down the list fast and then returns to the top of the list, it can sometimes cause some the groups to still have the class of ioslist-animated applied to them meaning that the headers overlap each other.

Adding this to the bottom of testPosition seems to fix it:

if( currentTop == 0 )
    $(this.options.selectors.groupContainer).removeClass(this.options.classes.animated);

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