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

[Bug]: Collapsible looks/behaviour changed in version 2.0.3 #448

Open
3 tasks done
be-cobblestone opened this issue Dec 30, 2023 · 1 comment
Open
3 tasks done

[Bug]: Collapsible looks/behaviour changed in version 2.0.3 #448

be-cobblestone opened this issue Dec 30, 2023 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@be-cobblestone
Copy link

be-cobblestone commented Dec 30, 2023

Before submitting...

Context

When switching from version 2.0.3-beta to version 2.0.3 the look of the collapsible component changed.

Current Behavior

Beta version 2.0.3 https://jsfiddle.net/Cobblestone42/dref9uzq/22/

  • the header is not split over several rows (OK)
  • no drop down arrow is shown at the right of the collapsible (Not OK)
  • Good spacing between header and body when opening (OK)

Release version 2.0.3 https://jsfiddle.net/Cobblestone42/hs7b2nuq/12/

  • Header is split over several rows (not OK)
  • A dropdown array is shown at the right (OK)
  • Bad spacing between header and body (not OK)

Expected behavior

  • Not splitting the header over several rows
  • A dropdown array at the right (maybe as an option?)
  • good spacing between header and body as in the alpha version

Possible Solutions or Causes

I'm not a css or js developer, just a user. So no idea what causes this.

Steps to reproduce

I have created two fiddles showing the difference in behaviour and looks
Beta version https://jsfiddle.net/Cobblestone42/dref9uzq/22/
Release version https://jsfiddle.net/Cobblestone42/hs7b2nuq/12/

Your Environment

  • Version used:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):
  • Additional information you want to tell us:
@be-cobblestone be-cobblestone added the bug Something isn't working label Dec 30, 2023
@wuda-io
Copy link
Member

wuda-io commented Jan 3, 2024

Hello @be-cobblestone
Yes you are right, this was changed due to the transition from animejs to css only transitions.
I think it should be common to have no padding inside the div.

The solution for a padding is to place a div inside the collapsible-body and place a custom padding class inside.
We should update the docs accordingly.

@Jerit3787 Jerit3787 added the documentation Improvements or additions to documentation label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants