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] skipAnimationFrameInResizeObserver is not a recognised prop on a DOM element #1178

Open
jedwardsdefaqto opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jedwardsdefaqto
Copy link

Describe the bug

When adding skipAnimationFrameInResizeObserver prop to TableVirtuoso component you get react console error

hook.js:608 Warning: React does not recognize the skipAnimationFrameInResizeObserver prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase skipanimationframeinresizeobserver instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Reproduction

https://codesandbox.io/p/sandbox/vtg97w

To Reproduce

Steps to reproduce the behavior:

  1. Create a TableVirtuoso component
  2. Add skipAnimationFrameInResizeObserver prop
  3. Look in console and see error

Expected behavior

No error

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome

Additional context
Add any other context about the problem here.

@jedwardsdefaqto jedwardsdefaqto added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant