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: Close button is missing in Aura theme #15285

Closed
vindow opened this issue Apr 16, 2024 · 0 comments · Fixed by #15313
Closed

Toast: Close button is missing in Aura theme #15285

vindow opened this issue Apr 16, 2024 · 0 comments · Fixed by #15313
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@vindow
Copy link

vindow commented Apr 16, 2024

Describe the bug

The close button is missing on toasts when using the Aura theme. This appears to be a CSS issue; if you apply this style to your styles.css file

.p-toast-icon-close {
  top: -5px;
  margin-top: 0;
  right: 0;
}

The button will appear again and is fully functional.

Environment

Stackblitz

Reproducer

https://stackblitz.com/edit/github-4g2ojy?file=src%2Fapp%2Fapp.component.html

Angular version

17.3.4

PrimeNG version

17.13.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.11.1

Browser(s)

No response

Steps to reproduce the behavior

  1. Click button to make a stick toast appear.
  2. See that the close button is missing.

Expected behavior

The close button should appear on the toast.

@vindow vindow added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 16, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 19, 2024
@cetincakiroglu cetincakiroglu added this to the 17.14.0 milestone Apr 19, 2024
@cetincakiroglu cetincakiroglu self-assigned this Apr 19, 2024
cetincakiroglu added a commit that referenced this issue Apr 19, 2024
Fixed #15285 - Refactor styles of close icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants