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

Created on 16 May 2024, about 2 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.69.0 2024