Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock dialog (modal) page scroll on <html> instead of <body> to make it bulletproof #17298

Closed
oleq opened this issue Oct 22, 2024 · 0 comments · Fixed by #17299
Closed

Lock dialog (modal) page scroll on <html> instead of <body> to make it bulletproof #17298

oleq opened this issue Oct 22, 2024 · 0 comments · Fixed by #17299
Assignees

Comments

@oleq
Copy link
Member

oleq commented Oct 22, 2024

This is a follow-up of #17093.

I discovered that the fix introduced in #17247 does not work in the project's docs because body { height: 100vh } style that ensures <body> is never (vertically) scrollable. I propose moving the scroll lock from <body> to <HTML> to work around this issue.

@oleq oleq self-assigned this Oct 22, 2024
oleq added a commit that referenced this issue Oct 22, 2024
Internal (ui): Moved the document scroll lock for modal windows from `<body>` to `<html>` to make it bulletproof. Closes #17298.
@CKEditorBot CKEditorBot added this to the iteration 79 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants