Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I sometimes lose control of the toast message, and then it never goes away. #562

Open
aymather opened this issue Jan 10, 2025 · 1 comment

Comments

@aymather
Copy link

Describe the bug
Sometimes if I have a couple of touch interactions with the toast message (like let's say I press and drag it down and let go so it returns to its normal position, or I just tap it... any interaction where the toast returns to its same active position) the toast will then remain in its active position infinitely, touch interactions will no longer cause any interactive behavior with it, and the only way to get it to get the toast to go away is to show it again, and touch interactions will become available again.

Steps to reproduce
I really can't reliably reproduce this, but i can definitely get it to trigger this broken state by just pressing and dragging the toast around a bunch.

Expected behavior
It should keep interactive behavior.

Screenshots
None

Code sample
It's just the standard Toast.show.

Environment (please complete the following information):

  • OS: [iOS]
  • react-native-toast-message version: [^2.2.0]
  • react-native version [v0.74.3]
@shivam2003sy
Copy link

Screenshot : I tried using the configs to put a cross renderTrailingIcon={() => (
<TouchableOpacity onPress={() => Toast.hide()}>
<Text style={{ fontSize: 18, color: 'black' }}>✖

)}
still stuck .
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants