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

Accordion - Swapped direction of chevron #7128

Closed
ducmerida opened this issue Jan 21, 2025 · 0 comments
Closed

Accordion - Swapped direction of chevron #7128

ducmerida opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@ducmerida
Copy link
Contributor

ducmerida commented Jan 21, 2025

Describe the bug

On v3 the Chevron icon direction was right (follows the same direction as any other system)

Image

On v4 the direction was swapped

Image

The issue can be reproduced by accessing to the oficial demos

V3
https://stackblitz.com/edit/kkjewte5?file=src%2FApp.vue

V4
https://stackblitz.com/edit/xxo2l6qg?file=src%2FApp.vue

Pull Request Link

#7129

Reproducer

https://stackblitz.com/edit/xxo2l6qg?file=src%2FApp.vue

Environment

Official PrimeVue demos

Vue version

3.2.45

PrimeVue version

4.2.5

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Open the v3 official demo and see that the chevron direction is right https://v3.primevue.org/accordion/
  2. Open the V4 officla demo and see that the chevron direction is reversed https://primevue.org/accordion/

Expected behavior

The ChevronDownIcon should be displayed when the accordion item is "Collapsed"
The ChevronUpIcon should be displayed when the accordion item is "Expanded"

Follow the same direction as other websites (and previous version of PrimeVue)

Google:
Image
Apple:

Image

@ducmerida ducmerida added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 21, 2025
@tugcekucukoglu tugcekucukoglu 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 Jan 22, 2025
@tugcekucukoglu tugcekucukoglu added this to the 4.3.0 milestone Jan 22, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 22, 2025
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 22, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Jan 22, 2025
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
Status: Done
Development

No branches or pull requests

2 participants