Comments (5)
Yes it is possible, here is an old sandbox showing it:
https://codesandbox.io/p/sandbox/popover-dialog-1y0rt?file=%2Fsrc%2Findex.js
It is the other way around here (Dialog
from Popover
) but it makes no difference which way around.
from primitives.
from primitives.
That shouldn't be an issue, especially if you use the portal parts for each and don't mingle with z-index
, out of the box they would stack naturally.
If you have a sandbox with your issue, I'm happy to take a look.
from primitives.
from primitives.
That makes me think your dialog wasn't using the portal part either?
If they both use their own portal parts, it should all work fine out of the box.
from primitives.
Related Issues (20)
- [ContextMenu] Default context menu with "html" target on border rightclick HOT 4
- No [data-state] and [data-motion] attributes on NavigationMenu.Content HOT 1
- DropMenu And AlertDialog Portal Colliding HOT 2
- @radix-ui/react-presence doesn't handle the `animationend` event correctly when keyframe has escapable character HOT 2
- `@radix-ui/react-tabs`: `keepRendered` options HOT 1
- Expose props for configuring floating-ui `autoUpdate` options like `layoutShift` HOT 1
- [Tooltip] Unable to click content inside tooltip after dismissing tooltip by clicking the trigger HOT 1
- [Slot] React 18.3.0 canary, ref is now a regular prop HOT 15
- [Select] Select content not showing in Dialog due to z-index HOT 4
- [NavigationMenu] Scope Propagation Failure in Custom Components Extending NavigationMenu
- [Slider][ScrollArea] Releasing the pointer over a button wrongly triggers an onClick event in Firefox HOT 3
- Checkbox's hidden input positions itself wrong HOT 2
- Radix select showing weird behaviour when inside tippy popup HOT 4
- Animation property passed via inline styles to Radix popover content is always overrided HOT 1
- ScrollArea - State/context change causes reflow and breaks `height: 100%` HOT 1
- [DismissableLayer] After clicking on element that stops propagation, 2 outside clicks are required to close the layer HOT 2
- Incorrect Behavior of Components with 'sticky' Property within ScrollAreaViewport HOT 1
- Force Dropdown to stay within viewport/screen boundaries (fix overflow when dropdown is too big)
- Parcel Scope Hoisting should be disabled HOT 1
- add the ability to change the value of a thumb from an outside input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primitives.