tamagui: Input component Errors out on React Native: Cannot read property useRef of null
Current Behavior
Working on bare React Native app, installed tamagui and using v3 config. Hit error when using Input component and running on iOS sim.
Expected Behavior
Expect no errors while rendering.
Tamagui Version
1.99.1
Platform (Web, iOS, Android)
iOS
Reproduction
npx react-native@latest init tamagui_test
npm install tamagui
npm install @tamagui/config
Add these imports and create config
import { TamaguiProvider, createTamagui, Input } from 'tamagui';
import { config } from '@tamagui/config/v3'
const tamaguiConfig = createTamagui(config)
Add Input component and try to render. (npm start)
Here is the simple repo I made to test this.
https://github.com/ramspeedy/tamagui-test/tree/main
System Info
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (8 by maintainers)
@SamuraiF0x sent a collaborator invite for the repo
Expo. Both IOS and android. Tamagui version: ^1.94.5 (Tried the latest version as well 1.99 and same error)
Render Error on Input component load:
Hi @ramspeedy, I’m adding this to my backlog
Nothing yet, moving forward without the library since I’m on a deadline. Hoping @SamuraiF0x or someone else from the team can comment so I can go back to using it.