vercel-labs / vercel-labs/native

Render anchored surfaces above child WebViews

Open
#301 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Zig
Stars
7.7k
Forks
314
Avg merge
5h
Merged PRs (30d)
13

Description

The Agent Wars example in PR #292 embeds child WebViews below native model pickers. Its dropdowns require reserved empty space because anchored canvas surfaces cannot render above platform WebViews. Their late z-pass only affects ordering within the GPU canvas, so overlapping dropdown content is occluded.

Introduce a transient, transparent overlay surface above child WebViews for dropdowns, popovers, and tooltips. The overlay should exist only while content is visible, allowing underlying WebViews to remain live and render normally when it is hidden. Existing positioning, input, dismissal, focus, and accessibility behavior should be preserved.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Agent Wars example in PR #292 and trace how anchored surfaces and child WebViews are handled. Done means dropdowns, popovers, and tooltips can render above live child WebViews through a transient overlay while preserving positioning, input, dismissal, focus, and accessibility behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
zig
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.