Skip to content

Add programmatic focus management - #118

Open
cowboyd wants to merge 1 commit into
mainfrom
dom-focus
Open

cowboyd wants to merge 1 commit into
mainfrom
dom-focus

Conversation

@cowboyd

@cowboyd cowboyd commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds focus(), blur(), activeElement, and focus events. Removing a focused subtree clears focus without firing blur.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • All tests pass (pnpm test)
  • Files are formatted (pnpm format)
  • I have added/updated tests for my changes (if applicable)
  • I have added a changeset

AI-generated code disclosure

  • This PR includes AI-generated code

@pkg-pr-new

pkg-pr-new Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

commit: e510812

@cowboyd
cowboyd added this pull request to stack #114 December 1, 2026 18:03
@cowboyd
cowboyd marked this pull request as ready for review December 1, 2026 19:14
@cowboyd
cowboyd marked this pull request as draft December 2, 2026 22:22
@cowboyd cowboyd added the input focus, keyboard, editing, mouse, anything coming from the release. label Dec 2, 2026
@cowboyd cowboyd added this to the Alpha-1 milestone Dec 2, 2026
@cowboyd
cowboyd removed this pull request from stack #114 December 2, 2026 22:23
@cowboyd
cowboyd force-pushed the dom-is-connected branch 3 times, most recently from 89c8fa4 to 4b3d8e8 Compare December 3, 2026 19:31
Base automatically changed from dom-is-connected to main December 3, 2026 21:09
@cowboyd
cowboyd marked this pull request as ready for review December 3, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

input focus, keyboard, editing, mouse, anything coming from the release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant