openui / openui/open-ui

[popover] escape top layer

Open
#1,360 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage
Dominant language
MDX
Stars
4.5k
Forks
226
Avg merge
2d 22h
Merged PRs (30d)
4

Description

not sure if this one has been brought up before.

but, has there ever been a discussion around letting people dictate whether their [popover] goes into the top layer or not? (defaulting to going into the top layer as the default behavior)

from using them more in production environments and in certain scenarios, sometimes you want all the mechanics, but the part that gets in the way is the fact that the popover goes into the top layer

for example, a popover within a layout that then sits above landmarks (undesired). there are often times where you just want the convenience of [popovertargetaction] + [popover] to access the events, handle the AT, etc. but you would like to have the parent styling influence layout etc.

not sure how feasible this would be, but it would definitely be useful

not even sure what it might look like, neither, perhaps something like [popovermode=document] with a default of [popovermode=top-layer], jus' throwin' ideas out there 🙏

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

The issue names no repository files, tests, or entry points. Start by reviewing the existing discussion around popover, popovertargetaction, and the top layer; done would require a clearer proposal for controlling top-layer behavior and agreement on its feasibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.