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

Toaster shown after navigating to another page when user clicks on buy button #15

Open
mahdi-eth opened this issue Mar 20, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@mahdi-eth
Copy link
Owner

Bug Report

Description:
When the user clicks on the "Buy" button, the toaster that confirms the product has been added to the cart is shown after navigating to another page. This behavior is unexpected and confusing for the user.

Steps to Reproduce:

  1. Go to the product page
  2. Click on the "Buy" button
  3. Immediately navigate to another page
  4. The toaster confirming the product has been added to the cart is shown

Expected Behavior:
The toaster confirming the product has been added to the cart should be shown immediately after clicking on the "Buy" button, regardless of any subsequent navigation.

Actual Behavior:
The toaster confirming the product has been added to the cart is shown after navigating to another page, causing confusion for the user.

@mahdi-eth mahdi-eth added the bug Something isn't working label Mar 20, 2023
@mahdi-eth
Copy link
Owner Author

@Mohammad-dn

@Mohammad-dn
Copy link
Collaborator

I know
This is just test sample
I will fix this bug when the basket page is ready

@Mohammad-dn
Copy link
Collaborator

@mahdi-eth

@mahdi-eth
Copy link
Owner Author

Thank you for your contribution👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants