Drupal Displace outputs invalid value for --drupal-displace-offset-right when opening top dialog

Created on 27 May 2023, over 1 year ago
Updated 14 August 2024, 3 months ago

The Drupal.displace() method adds CSS custom properties to root HTML element (see https://www.drupal.org/node/3275981 ).

When an off-canvas top dialog is created, it outputs the correct value for the custom CSS property --drupal-displace-offset-top, however it outputs an invalid value for the --drupal-displace-offset-right property (which should be zero or not set).

Note this can be tested by installing the "Dialog test" module in the D10 compatible fork of cd_tools from @bnjmn (https://github.com/bbenjamin/cd_tools)

🐛 Bug report
Status

Fixed

Version

10.3

Component
Javascript 

Last updated 2 days ago

Created by

🇺🇸United States mherchel Gainesville, FL, US

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024