Skip to content

fix: remove deprecated overflow-y:overlay in .pm__body#821

Open
terminalchai wants to merge 1 commit intoorestbida:masterfrom
terminalchai:fix/remove-deprecated-overflow-overlay
Open

fix: remove deprecated overflow-y:overlay in .pm__body#821
terminalchai wants to merge 1 commit intoorestbida:masterfrom
terminalchai:fix/remove-deprecated-overflow-overlay

Conversation

@terminalchai
Copy link
Copy Markdown

Description

Fixes #784

The .pm__body element has two overflow-y declarations:
\\css
overflow-y: auto;
overflow-y: overlay; /* deprecated — removed in Chrome 112+ */
\\

overflow-y: overlay is a non-standard WebKit value that was deprecated and removed in Chrome 112. Modern browsers log a deprecation warning for this property.

Fix

Remove the overflow-y: overlay line. The overflow-y: auto declaration directly above it already handles scrolling correctly on all browsers.

Changes

  • \src/scss/core/components/_preferences-modal.scss\
  • \dist/css-components/preferences-modal.css\
  • \dist/cookieconsent.css\

Testing

All 119 existing tests pass (9/9 suites).

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 5, 2026

@krishhmaaya-innovations is attempting to deploy a commit to the Orest Bida's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 5, 2026

Deploy Preview for cookieconsentv3-playground canceled.

Name Link
🔨 Latest commit 6435475
🔍 Latest deploy log https://app.netlify.com/projects/cookieconsentv3-playground/deploys/69a9fb6494c4980008722271

@terminalchai terminalchai force-pushed the fix/remove-deprecated-overflow-overlay branch 2 times, most recently from 87c8e03 to 1b44fbf Compare March 5, 2026 21:50
The overlay value is non-standard and was removed in Chrome 112+.
The overflow-y: auto declaration above it handles scrolling correctly.

Fixes orestbida#784
@terminalchai terminalchai force-pushed the fix/remove-deprecated-overflow-overlay branch from 1b44fbf to 6435475 Compare March 5, 2026 21:53
@stale
Copy link
Copy Markdown

stale bot commented Apr 11, 2026

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: overflow: overlay is a legacy value

1 participant