[Bug]: ref does not exist on DataGrid components when generics are used
Component
DataGrid
Package version
latest
React version
18
Environment
System:
OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (32) x64 Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
Memory: 57.76 GB / 62.77 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
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
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a minimal reproducible example of the bug.
Workaround is to stop using the generic braces and cast render function arguments
This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons.
Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent.
This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons.
Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent.