Skip to content

fix(dialog): let the dialog scroll instead of the form inside it - #287

Merged
susnux merged 1 commit into
mainfrom
fix/dialog-scrollbar-at-edge
Sep 9, 2026
Merged

susnux merged 1 commit into
mainfrom
fix/dialog-scrollbar-at-edge

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The form set its own max-height and overflow-y, which made it a second scroll container nested inside the dialog padding — hence the scrollbar floating over the content with a gap to the dialog border.

Fixes #282

NcDialog already scrolls its content (.dialog__content has overflow: auto), so the form no longer does and that scrollbar is the one you get, at the dialog edge. The form had taken over scrolling to keep the header visible, so the header is sticky now instead.

I could not check this against the screenshot myself — worth a look before merging.

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

The form was its own scroll container, so its scrollbar sat inside the dialog's
padding and floated over the content. NcDialog already scrolls its content, so
the form no longer does, and the header is sticky to stay in place while it
scrolls.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added the bug Something isn't working label Sep 9, 2026
@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.91%. Comparing base (6e6c125) to head (55a50bb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #287   +/-   ##
=======================================
  Coverage   79.91%   79.91%           
=======================================
  Files          27       27           
  Lines         727      727           
  Branches      202      202           
=======================================
  Hits          581      581           
  Misses        127      127           
  Partials       19       19           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@susnux susnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@susnux
susnux merged commit b6f66c4 into main Sep 9, 2026
15 checks passed
@susnux
susnux deleted the fix/dialog-scrollbar-at-edge branch September 9, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dialog content scrollbar overflows content

2 participants