JS example: The 'Sorting according to numeric weight' example is showing the same set of colored texts repeatedly in the page.

Created on 2 September 2022, almost 2 years ago
Updated 17 February 2023, over 1 year ago

Problem/Motivation

The second example in JS Example module demonstrates attaching multiple JS files to a page so that each JS will print a particular text in each color. The expected behavior is the text should print only once in each color. If BigPipe module is enabled(BigPipe is enabled by default in Drupal 9), this JS will execute multiple times so that the same set of texts will print repeatedly.

Steps to reproduce

  1. Enable JS Example module.
  2. Enable BigPipe module if it is not enabled.
  3. Goto page /examples/js-example/weights as a logged in user.
🐛 Bug report
Status

Fixed

Version

3.0

Component

Javascript Example

Created by

🇮🇳India emilymathew

Live updates comments and jobs are added and updated live.
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.69.0 2024