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

BUG : Hidden toasts stacking on top of each other #91

Closed
tomik-z-cech opened this issue Mar 14, 2024 · 1 comment
Closed

BUG : Hidden toasts stacking on top of each other #91

tomik-z-cech opened this issue Mar 14, 2024 · 1 comment

Comments

@tomik-z-cech
Copy link
Owner

Describe the bug :
Vault toasts are stacking on top of each other in Y axle even if the previous toasts are hidden.

To Reproduce :

  • Navigate to shop
  • Select any item and add into Vault
  • See poition of toast (correct)
  • Add another item into Vault
  • See position of toast (higher - incorrect)
  • Repeat this process and see incorrect position of any subsequent toasts

Expected behavior :
Toast messages have static poition defined in main.css

Screenshots :
toasts-bug

Devices :
All devices.

Additional context :
Possible JS toast problem.

@tomik-z-cech
Copy link
Owner Author

Line $('.toast:not(:first-child)').remove(); added to base.html template into block of toasts JS logic. This ensures all previous toastes are cleared before new one attached.

Bug fixed in commit 6db5a0a.

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

No branches or pull requests

1 participant