tamagui: Select sometimes not working when mounted, unmounted and mounted again.
https://github.com/tamagui/tamagui/assets/47078705/98f63caf-70e9-4ca9-bff7-c1998b7e9277
tamagui@1.76.0
and also it sometimes it doesn’t work with multiple select is on the same screen
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 3
- Comments: 15 (1 by maintainers)
I have this issue when conditionally rendering a component which has select and adapt inside. I’ll try to make a reproducible sample tomorrow.
@PerryEx64 are you sure the issue is not resolved yet? It’s been a while I worked on the project where I used Tamagui select. At that time, I ended up using another package -
react-native-input-select, then I styled it to match my application’s requirement. That is what @coycoylaniba did, only that I used a different package because it kind of matched what I needed. My implementation looked like this:Mind you, I was using
react-hook-formto manage my form, so you might have to remove that if that’s not what you use.Thx for this component code, this helped me a lot.
Makes sense actually. This should work for me also. Thanks. @coycoylaniba
@jerrywonderr here:
it looks like this:
it’s ugly lol but it gets the job done
I’m facing this same issue currently. I’m testing my app on vivo2015 via expo go.
Any workaround for this yet? How did you go about this? @coycoylaniba