Add a CSS animation to expanding of details elements

Created on 3 June 2014, over 10 years ago
Updated 5 January 2024, 12 months ago

The transition between the collapsed and open state of details is very sudden. From a visual perspective, this makes the interface feel very blunt rather than smooth.

I suggest that we add a very small transition between open and closed state, having it collapse. This should be doable with CSS only, and we have to make sure that we do this collapse within the "noticeable" but not causing it to feel slow. This should be easily do-able, and now that we don't need JS for this anymore - it seems like a feasible objective.

Screenshot of where to find a <details> element.

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Claroย  โ†’

Last updated 6 days ago

Created by

๐Ÿ‡ณ๐Ÿ‡ฑNetherlands Bojhan

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • VIMS

    Visually induced motion sickness

  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024