primefaces / primefaces/primereact

Accordion: jumpy transition animation

Open
#3,117 2 comments 0 reactions 1 assignee View on GitHub

@mertsincan is already working on this.

Since Jul 29, 2022.

Component: Theme Status: Pending Review
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When extra padding is added to the content of the accordion (to increase the spacing between open tabs), the transitions are noticeably jumpy

Reproducer

https://codesandbox.io/s/distracted-wave-4p5tk3

PrimeReact version

8.3.0
Worked on v7

React version

18.x

Language

ES6

Build / Runtime

React

Browser(s)

No response

Steps to reproduce the behavior

Use Accordion's contentClassName to customise spacing between open tabs

Expected behavior

The transition is smooth

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.