Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Passing a dynamic value to the virtualized items results in the previous state being rendered #33739

Open
2 tasks done
jacksonv1lle opened this issue Jan 28, 2025 · 0 comments

Comments

@jacksonv1lle
Copy link
Contributor

Component

Virtualizer (Preview)

Package version

9.0.0-alpha.91

React version

17.0.2

Environment

N/A

Current Behavior

Passing a dynamic state value to the virtualized items results in the previous state being rendered.

Expected Behavior

The value should be the current state value

Reproduction

https://stackblitz.com/edit/93q6xmdr?file=src%2Fexample.tsx

Steps to reproduce

  1. Navigate to the example on StackBlitz
  2. Type into the Input field above the Virtualizer

The value which renders within the virtualized items is the previous state value.

Are you reporting an Accessibility issue?

None

Suggested severity

Medium - Has workaround

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants