Skip to content

Prevent hidden shortcuts while Lightbox is open - #7906

Open
Ap4sh wants to merge 1 commit into
signalapp:mainfrom
Ap4sh:fix-lightbox-hidden-composer-send
Open

Prevent hidden shortcuts while Lightbox is open#7906
Ap4sh wants to merge 1 commit into
signalapp:mainfrom
Ap4sh:fix-lightbox-hidden-composer-send

Conversation

@Ap4sh

@Ap4sh Ap4sh commented Jun 3, 2026

Copy link
Copy Markdown

First time contributor checklist:

Contributor checklist:

  • My contribution is not related to translations
  • My commits are in nice logical chunks with good commit messages
  • My changes are rebased on the latest main branch
  • A pnpm run ready run passes successfully (more about tests here)
  • My changes are ready to be shipped to users

Description

Fixes #7896

This stops Lightbox from letting keyboard shortcuts interact with hidden conversation UI behind it

It blocks app-level shortcut handlers while Lightbox is visible, while keeping Lightbox shortcuts like Escape, previous/next, and save working

Tests:

  • Added Electron coverage for behind-Lightbox key targets
  • Added mock coverage for hidden composer send prevention and the fun picker shortcut
  • Ran pnpm run ready on macOS 26.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can send messages while the text field is hidden by an expanded image

1 participant