You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using typescript and a custom List, Typescript throws an error and says it expects an HTMLDivElement when you try to pass the ref to anything else, for example an unordered list.
Describe the bug
When using typescript and a custom List, Typescript throws an error and says it expects an HTMLDivElement when you try to pass the ref to anything else, for example an unordered list.
Reproduction
https://codesandbox.io/s/virtualized-custom-list-and-item-type-issue-g3irvh?file=/App.tsx:415-433
To Reproduce
Steps to reproduce the behavior:
Components["List"]
following the example on https://virtuoso.dev/customize-structure/Expected behavior
The ref is able to be passed to any html element.
Screenshots
The text was updated successfully, but these errors were encountered: