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 resizes on longer text #2949

Closed
abakucz opened this issue Sep 8, 2022 · 1 comment
Closed

Toast: Close button resizes on longer text #2949

abakucz opened this issue Sep 8, 2022 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@abakucz
Copy link

abakucz commented Sep 8, 2022

Describe the bug

If the Toast details are longer than one line, the clickable area around close button becomes oval instead of keeping circular shape.

With short details text:
image

With long details text:
image

Reproducer

No response

PrimeVue version

3.16.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

Easiest way:

  1. Go to https://www.primefaces.org/primevue/toast
  2. Click Sticky to open the toast.
  3. Inspect the toast element with Chrome DevTools.
  4. Change the toasts details text to something longer.

Expected behavior

Close button's shape (clickable area) should remain circular independent of toast's details text length.

@abakucz abakucz added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Sep 8, 2022
@bahadirsofuoglu
Copy link
Contributor

Fixed #2978

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

No branches or pull requests

3 participants