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

Autosizer component does not accept any refs or spread props. #1831

Open
choierica opened this issue Mar 7, 2024 · 0 comments
Open

Autosizer component does not accept any refs or spread props. #1831

choierica opened this issue Mar 7, 2024 · 0 comments

Comments

@choierica
Copy link

Bug Report

We need to set the "role" prop on the AutoSizer component to be "none", but currently, the component is not accepting any refs.
https://github.com/bvaughn/react-virtualized/blob/master/source/AutoSizer/AutoSizer.js

What is the current behavior?

Even if you set a "role" prop or spread the props, the component itself it not accepting it.
image

What is the expected behavior?

The component should allow users to accept refs.

Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?

This is fixed in V9, but in V0, we are still seeing this issue and we are not making a migration to V9 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant