vercel-labs / vercel-labs/native
Render anchored surfaces above child WebViews
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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