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
Using a TextField produces error on web: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Related to
Components
Demo
Docs
Typings
Steps to reproduce
Steps to reproduce the behavior:
Use an expo project with current RNUILib v7.22.0
Add <TextField ... />
Start expo dev server and open web
See error
More Info
I guess this error was introduced in v7.14.0 with #2874 . src/components/textField/textInput/index.web.tsx probably just needs a forwardRef(...)
Environment
React Native version: 0.74.1
React Native UI Lib version: 7.22.0
Affected platforms
Android
iOS
Web
The text was updated successfully, but these errors were encountered:
Description
Using a TextField produces error on web:
Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Related to
Steps to reproduce
Steps to reproduce the behavior:
More Info
I guess this error was introduced in v7.14.0 with #2874 .
src/components/textField/textInput/index.web.tsx
probably just needs aforwardRef(...)
Environment
Affected platforms
The text was updated successfully, but these errors were encountered: