GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ui): restore focus in stacked dialogs by OpeOginni · Pull Request #44928 · anomalyco/opencode

Conversation

@OpeOginni

@OpeOginni OpeOginni commented Aug 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #44900
Closes #43369
Closes #41382
Closes #41638
Closes #41501
Closes #40866
Closes #40658
Closes #36263

Type of change

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

What does this PR do?

  • Settings and Add Server were both active modal dialogs.
  • They competed for clicks and focus when filling in the server form.
  • The first input worked because it was focused automatically.
  • Only the top dialog is now modal and controls focus and pointer events.
  • The underlying Settings dialog becomes active again when the server dialog closes.

How did you verify your code works?

  • Ran bun typecheck in packages/ui.
  • Ran bun typecheck in packages/app.
  • Ran bun test src --only-failures in packages/ui.
  • The branch push hook also passed the repository typecheck.

Screenshots / recordings

  • No screenshot included because this is a Windows-only focus behavior fix and the verification environment is macOS.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@OpeOginni
fix(ui): focus topmost dialog
4b2b2a2
@github-actions github-actions Bot added the contributor label Aug 25, 2026
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential duplicate found:

  • fix(ui): only trap focus in the topmost dialog #41475 - fix(ui): only trap focus in the topmost dialog (fix(ui): only trap focus in the topmost dialog #41475)

This appears to be closely related to PR #44928. Both PRs address focus trapping and management in stacked/multiple dialogs. PR #41475 specifically focuses on trapping focus in only the topmost dialog, which is conceptually similar to the current PR's approach of making only the top dialog modal and controlling focus/pointer events while underlying dialogs become inactive.

You may want to check if #41475 was previously closed/merged and whether the current PR represents a new approach to the same issue (#44900).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Brendonovich
Merge branch 'dev' into fix-dialog-focus
0712d0b
@Brendonovich
Brendonovich merged commit a7444bf into anomalyco:dev Aug 25, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent opencode-agent Bot mentioned this pull request Aug 25, 2026
fix(ui): restore stacked dialog focus #44941
Merged
@OpeOginni
OpeOginni deleted the fix-dialog-focus branch August 25, 2026 11:20
Anonymouse8882 pushed a commit to Anonymouse8882/opencode that referenced this pull request Aug 27, 2026
@OpeOginni @Brendonovich Anonymous
fix(ui): restore focus in stacked dialogs (anomalyco#44928)
df53961
Co-authored-by: Brendan Allan <[email protected]>
(cherry picked from commit a7444bf)
Archipel pushed a commit to Archipel/opencode that referenced this pull request Aug 29, 2026
@OpeOginni @Brendonovich Thomas Weyn
fix(ui): restore focus in stacked dialogs (anomalyco#44928)
6a9e80a
Co-authored-by: Brendan Allan <[email protected]>
@zingzheng zingzheng mentioned this pull request Aug 29, 2026
fix(ui): keep non-top stacked dialogs inert to protect focus #46146
Closed
3 tasks done
@github-actions github-actions Bot mentioned this pull request Aug 31, 2026
Informe upstream (semanal) jaminsmoke/Jarvis#52
Open
1056674754 added a commit to 1056674754/opencode that referenced this pull request Aug 31, 2026
@1056674754 @claude
chore: merge OpenCode v1.18.25-sscity
08c591d
Upstream v1.18.23 (ef2880f, merged at 2091b86) -> v1.18.25 (cb7d8b2),
41 commits / 224 files. Upstream superseded the v1.18.24 release commit
(57e8055) with 19db518 (sync release versions for v1.18.24) in the
v1.18.25 lineage; merge base is 31c409a (update inference headers).
Staged delta vs pre-merge fork HEAD is identical to the upstream tag-to-tag
diff (224 files, +5428/-1627), confirming a clean adoption.

Functional changes:
- feat(opencode): load supported v2 config in v1 (anomalyco#45421) — new
  config/v2-compat.ts lowers v2 config onto v1 before schema parsing;
  decodeConfig wraps every load/update path. Fork's getFresh/commitFresh
  interface additions in config.ts untouched.
- feat(opencode): support Azure CLI authentication (anomalyco#45079) and fix:
  remove Bun dependency from Azure authentication (anomalyco#45845) —
  plugin/azure.ts grows an az CLI credential chain (+241); provider.ts
  custom Azure loader adds auth.accountId as a resource-name fallback
  (1 line, disjoint from the fork snapshot architecture). New
  test/plugin/azure.test.ts passes in full.
- fix(opencode): compare config snapshots as JSON (anomalyco#45784) — the update
  path re-reads the original file text and merges the patch onto the raw
  parsed record, detecting change via serialized comparison.
- fix(provider): filter unreplayable Bedrock reasoning before caching
  (anomalyco#45769) — transform.ts; verified disjoint from the fork GLM/ZhiPu
  normalization block, which is intact.
- fix(core): recover legacy database migration history (anomalyco#45061).
- fix(ui): restore focus in stacked dialogs (anomalyco#44928); fix(app): drop
  archived sessions from home list right away (anomalyco#44905).
- console/stats/go: zen quota usage breakdown, weekly retention metrics,
  Go comparison chart mobile fix, auth redirect validation, checkout
  rate limit; docs: Qwen3.8 Flash, GLM-5.3-Flash, Grok 4.6.

Conflicts resolved: 29 package.json version bumps (rebranded 1.18.25-sscity),
bun.lock (took upstream, rebranded workspace entries via bun install; only
external dep delta is removal of the console map stack d3-geo/topojson/
world-atlas plus a @types/bun catalog entry). provider.ts and transform.ts
auto-merged; merged files verified to differ from v1.18.25 only by fork
deltas (ProviderSnapshot architecture, deferred snapshot initialization,
GLM normalization, getFresh/commitFresh). Tests: provider 105, transform,
bedrock, config, v2-compat, session retry/llm — 906 pass / 0 fail across
14 files; azure plugin 18 pass; typecheck clean. Pre-existing, not from
this merge: 4 cf-ai-gateway-e2e anthropic-passthrough tests fail
identically on pre-merge fork HEAD with an unchanged ai-gateway-provider
3.2.0 lock entry — environmental drift, left as-is.

Co-Authored-By: Claude Fable 5 <[email protected]>
filipeforattini added a commit to reddb-io/redcode that referenced this pull request Sep 5, 2026
@filipeforattini
fix(ui): restore focus in stacked dialogs (anomalyco#44928)
8f2ddf9
Ported from anomalyco/opencode a7444bf.

Co-authored-by: Brendan Allan <[email protected]>

Upstream: a7444bf
filipeforattini added a commit to reddb-io/redcode that referenced this pull request Sep 5, 2026
@filipeforattini
fix(ui): restore focus in stacked dialogs (anomalyco#44928)
25ec224
Ported from anomalyco/opencode a7444bf.

Co-authored-by: Brendan Allan <[email protected]>

Upstream: a7444bf
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@OpeOginni @Brendonovich
fix(ui): restore focus in stacked dialogs (anomalyco#44928)
4965e8d
Co-authored-by: Brendan Allan <[email protected]>
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@OpeOginni @Brendonovich
fix(ui): restore focus in stacked dialogs (anomalyco#44928)
215bc8b
Co-authored-by: Brendan Allan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Password field in “Add server” dialog cannot receive focus/input on Windows Desktop Desktop app: "Add server" dialog fields cannot receive keyboard input on Windows (aria-hidden focus block) Desktop input fields lose focus; can't Tab or click between them [Bug] Add-server dialog: all inputs frozen/disabled during health-check submit; typed chars reverted Opencode Desktop's "+ Add server" form cannot be filled/focused via cursor click or tab
Unable to add the server normally opencode desktop can‘t add server 'Cannot add server' is still exist

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@OpeOginni @Brendonovich
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.