Skip to content

Feat/dialogue background overlay setting#249

Open
ariane-emory wants to merge 4 commits intodevfrom
feat/dialogue-background-overlay-setting
Open

Feat/dialogue background overlay setting#249
ariane-emory wants to merge 4 commits intodevfrom
feat/dialogue-background-overlay-setting

Conversation

@ariane-emory
Copy link
Owner

@ariane-emory ariane-emory commented Mar 18, 2026

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

As a new experimental.dialog_background_overlay setting that controls whether an overlay is applied to content outside the dialogue kwhen a dialogue is open.

ariane-emory and others added 4 commits March 14, 2026 02:40
Adds a new experimental configuration option to control dialog background overlay behavior:

- 'full' (default): Semi-transparent overlay covers entire screen (current behavior)
- 'limited': No overlay outside dialog window bounds
- 'none': No overlay at all

This allows users to work around the TUI renderer bug where emojis disappear
when semi-transparent overlays are applied.

Changes:
- Added dialog_background_overlay to Config.Experimental schema
- Updated SDK types to include the new field
- Modified Dialog component to conditionally render overlay based on setting
The dialog window was appearing in the top-left when overlay mode was
set to 'limited' or 'none'. This was because the outer positioning box
was being resized to match the dialog window instead of staying full
screen.

Now the outer box always uses full screen dimensions for proper
centering, and only the backgroundColor is conditionally applied.
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.

1 participant