Animations doesn't work properly with multi-value paragraph field

Created on 23 August 2023, about 1 year ago

Problem/Motivation

We you have a multi-value paragraph field and you configure the animations for this field inheriting the configs, it only works when the first element disappears in the page.

Steps to reproduce

  • Create "A" paragraph with a text field.
  • Create "B" paragraph with a multi-value paragraph field.
  • Create a paragraph field in your content type.
  • Configure the animations:
  • Paragraph A: opacity 0 to 1
  • Paragraph B. Only for fields, inherit from paragraph A
  • Add a content with 1 paragraph A with multiple paragraph B.
  • The animation only occurs once the first paragraph A disappears.

Proposed resolution

Fix the js by looping through the elements.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇷Brazil hmendes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024