Skip to content

"overscanCount" leads to overlapping items when using "stickyIndices" #594

@LeonErath

Description

@LeonErath

Bug Report

Describe the Bug

React Cool Virtual stickyIndices options does not work correctly when settings the overscanCount property. The sticky items overlap each other when setting the overscanCount property.

How to Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to CodeSandbox
  2. Scroll the list
  3. See the sticky items overlapping each other

CodeSandbox Link

Show me the bug on CodeSandbox.

Expected Behavior

The sticky items should not overlap each other.

Screenshots

Your Environment

  • Device: MacBook Pro
  • OS: macOS
  • Browser: Chrome (Arc)
    • Arc Version: 1.52.0
    • Chromium 126.0.6478.183

Additional Information

Please let us know if we can assist you financially in resolving the bug or if you would prefer us to address the issue ourselves and submit a pull request. We have been using RCV in our app for a long time and have been very satisfied with it.

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