Skip to content

[Bug]: Unnecessary vertical scrollbar in fullscreen compose modal #2

Description

@rkofficial786

Describe the bug

When the compose window is expanded to fullscreen, a vertical scrollbar appears on the right edge of the modal even though all content (recipient fields, toolbar, editor, attachment panel, footer) already fits within the viewport. Scrolling only moves the content by a few pixels, indicating a minor height overflow rather than actual overflow content.

Steps to reproduce

  1. Click 'Compose'
  2. Click the fullscreen (expand) icon in the top-right of the compose modal
  3. Observe a vertical scrollbar on the right side of the modal,
    even though there is no additional content to scroll to

Expected behavior

Expected behavior:

  • In fullscreen mode, the compose modal should fill the viewport with no outer scrollbar when content fits
  • Scrollbars should only appear when content genuinely overflows (e.g. many attachments, very long recipient list)
  • The editor body itself may scroll internally for long emails, but the modal wrapper should not

Screenshots

Image

Browser / OS

No response

Additional context

Likely a small height mismatch in the fullscreen layout e.g. children heights plus padding exceeding 100vh, box-sizing not applied to a bordered container, or overflow-y: scroll used instead of overflow-y: auto on the modal wrapper. Fix direction: make the modal a flex column (height: 100vh), let the editor area be flex: 1; min-height: 0; overflow-y: auto, and set the wrapper to overflow: hidden.

Discuss this issue on our Discord

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions