[popover] Why can't I have Popover.Content outside of a Portal?
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 114
Description
Hey, I couldn't find anything specific in the documentation about this, but is it intentional that popovers need to be wrapped in a portal element? (unlike other ui libraries, like ariakit that allow this)
[StackBlitz](https://stackblitz.com/edit/rrpxtdwy?file=src%2FApp.tsx) reproduction/evidence
Contributor guide
Research direction
Start with the linked StackBlitz reproduction, especially src/App.tsx, and compare the Popover.Content behavior with and without a Portal. Read the popover and portal entry points to determine whether rendering Content outside a Portal is intended to be supported; done means the expected behavior is established and covered by documentation or a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100