Skip to content

Strange scroll event scrollOffset #69

@vallemar

Description

@vallemar

When we declare a scroll event in a CollectionView with multiple templates and without rowHeight we have a strange behavior in the scrollOffset data.

If you scroll down there are times when scrollOffset is less than the previous one, which should not happen since if it is a downward scroll it should always increase.

Reproduction repository:https://github.com/vallemar/collectionview-bug
Remove this rowHeight and you will see in the console when you scroll down: DETECTED CHANGE IN SCROLL (it shouldn't appear until you go up the list)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions