Fix unlocking body scroll after closing the popup on drupal > 10.2.x

Created on 16 May 2024, 6 months ago

Problem/Motivation

Closing the popup keeps the body locked against scrolling.
This started happening since introducing the body scroll lock in drupal core dialog(10.2.x).

Steps to reproduce

  • use drupal 10.2.5
  • Add a popup on load
  • Navigate to the page
  • Try to close the popup and the page will stay locked

Proposed resolution

Removing the empty close callback so that it could be handled by the default callback which will unlock scrolling on close.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇯🇴Jordan Abdelrahman khlefat

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