Javascript behavior does not respect context

Created on 3 May 2023, over 1 year ago
Updated 18 January 2024, 11 months ago

Problem/Motivation

The javascript behavior does not respect the behavior context, which causes problems if the context is not attached to document yet (e.g. Ajax-response which gets passed to Drupal.attachBehaviors(response) before being appended to the DOM)

Proposed resolution

Use context in Drupal behavior

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024