- From: Šime Vidas via GitHub <sysbot+gh@w3.org>
- Date: Tue, 06 Jun 2023 20:37:01 +0000
- To: public-css-archive@w3.org
This should work: ```css .menu.is-open { overflow: auto; overscroll-behavior: contain; } ``` The reason why it doesn’t work is because browsers don’t follow the specification: https://github.com/w3c/csswg-drafts/issues/3349#issuecomment-492721871 We’re in a weird situation. Web developers want a common-sense behavior (prevent page from scrolling when hovering modal dialog), the CSS specs provide a simple solution for this behavior, but none of the three major browser engines implement this behavior correctly. -- GitHub Notification of comment by simevidas Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4710#issuecomment-1579412296 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 June 2023 20:37:03 UTC