Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
18.58k
stars
2.74k
forks
source link
[Bug]: ref does not exist on DataGrid components when generics are used #32984
Open
ling1726 opened 1 month ago
Component
DataGrid
Package version
latest
React version
18
Environment
Current Behavior
Adding a ref to a DataGrid component that uses generics results in an error
Expected Behavior
Refs should be usable on DataGrid components with generics
Reproduction
https://stackblitz.com/edit/idut6z?file=src%2Fexample.tsx
Steps to reproduce
Open repo and find the TS error
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?
yes
Validations