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

Component: Metergroup #16439

Closed
AleTornesello opened this issue Sep 26, 2024 · 1 comment
Closed

Component: Metergroup #16439

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

Comments

@AleTornesello
Copy link
Contributor

AleTornesello commented Sep 26, 2024

Describe the bug

When the first or last meter item is not visible because his value is 0, the visible first or last items, instead of rounded start/end, they have a flat start/end.

For example:
image

I suggest to ignore the items with a value equal to zero to prevent this. The correct way to view the meter should be:
image

Environment

I have forked this repository and run it with npm run start. I did't have done any changes.

Reproducer

No response

Angular version

18.0.2

PrimeNG version

17.18.10

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.17.0

Browser(s)

No response

Steps to reproduce the behavior

Set the first and/or last meter group items' value of the meter group exaple to zero.

Expected behavior

No response

@AleTornesello AleTornesello added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 26, 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 Sep 26, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.11 milestone Sep 26, 2024
cetincakiroglu added a commit that referenced this issue Sep 26, 2024
fix(#16439): ignore meter items with value equal to zero
@cetincakiroglu
Copy link
Contributor

Fixed in #16440

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