Skip to content

ItemSeparatorComponent is rendered on second to last item when numColumns={2}Β #1809

@mateo-agilo

Description

@mateo-agilo

Current behavior

I noticed that when numColumns is set to 2, so two items are in each row, separator is rendered on the second to last item, and so it creates unnecessary spacing at the bottom of the list

Expected behavior

Expected behavior should be that separator is rendered on items whose index is smaller than items length minus number of columns (index < data.length - numColumns)

Environment

1.7.6v

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions