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

Error toasts can't be closed #1946

Closed
jaraujoj opened this issue Sep 14, 2023 · 0 comments · Fixed by #2008 or #2011
Closed

Error toasts can't be closed #1946

jaraujoj opened this issue Sep 14, 2023 · 0 comments · Fixed by #2008 or #2011
Assignees
Labels
🐞 bug Something isn't working request
Milestone

Comments

@jaraujoj
Copy link

bug

Problem:

After updating to the following versions:

  • @swisspost/design-system-components: 1.3.10
  • @swisspost/design-system-intranet-header: 4.0.9
  • @swisspost/design-system-styles: 6.3.0

We've noticed an issue when hovering the mouse over a toast element. Instead of the toast reacting to the hover, the underlying elements respond.

Details:

Upon investigation, we found that the .toast-container class has pointer-events: none. When we remove or change this property to pointer-events: all, we are able to close the toast normally.

This issue seems to have been introduced when updating from version 4.0.8 to 4.0.9, as pointer-events: none was added to the packages/styles/src/components/toast.scss file during this update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working request
Projects
3 participants