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

Toast component doesn't have available the prop "closeToast" #71

Open
danielUcedaDevo opened this issue Aug 30, 2024 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@danielUcedaDevo
Copy link

What steps will reproduce the bug?

  1. Create a Toast Container
  2. Create a toast
  3. Try to use the toast.closeToast() method programmatically from other place but toast component doesn't recognized this prop

Note: In the coco library we could close those toasts with dismiss prop, the behavior should be similar

How often does it reproduce? Is there a required condition?

Every time we use toast

What is the expected behavior? Why is that the expected behavior?

Could close toast since other place programmatically

What do you see instead?

An Error, when we try to use this function, the result is an error.
1

Additional information

image (36)
image (35)
image (34)
image (37)

@danielUcedaDevo danielUcedaDevo added bug Something isn't working triage labels Aug 30, 2024
@danielUcedaDevo danielUcedaDevo changed the title Genesys Toast component can't use its closeToast prop Toast component doesn't have available the prop "closeToast" Aug 30, 2024
@trigoporres trigoporres added good first issue Good for newcomers and removed triage labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants