gluestack / gluestack-ui

React & React Native Components & Patterns (import from library & copy-paste styles all the way to victory)
https://gluestack.io/
MIT License
1.78k stars 89 forks source link

Toast not showing on latest versions #2083

Open DavidAmyot opened 2 months ago

DavidAmyot commented 2 months ago

Description

I expect the Toast component to show the toast, but it does not.

CodeSandbox/Snack link

No response

Steps to reproduce

No response

gluestack-ui Version

latest

Platform

Other Platform

No response

Additional Information

Could not reproduce on Snack unfortunately. I am unsure if it's because of the expo version which is the latest on my project vs on Snack or if it's because I have expo-router v3 in my project.

I currently have @gluestack-ui/config 1.1.18 and @gluestack-ui/themed 1.1.22 and with those, the Toast does not work.

However, after trying out different older branches I had, I found out that with @gluestack-ui/config 1.1.17 and @gluestack-ui/themed 1.1.12, the Toast appears fine so I'm guessing the issue comes from one of the two.

image

I am on the latest version of expo and expo-router, expo-doctor runs fine with no issues found.

Thanks for the help.

surajahmed commented 2 months ago

@DavidAmyot Thanks fore reporting this. We'll have a look.

msschwartz commented 1 month ago

@surajahmed any update on this?

JavanPoirier commented 1 month ago

+1 👀

Rossella-Mascia-Neosyn commented 1 month ago

i have the same problem with react native cli

Viraj-10 commented 2 weeks ago

Hey @JavanPoirier @Rossella-Mascia-Neosyn @msschwartz @DavidAmyot,

Currently our portal is based on context due to this it render behind expo-router. We are working towards a solid solution which will resolve this issues. We are working on improved version of toast which will take advantage of packages like react-native-z-view or native api's.