Comments (1)
This seems to be because we will only conditionally render the nested Modal based on its actual tracked isOpen state if you have a wrapping ModalOverlay. Without that wrapping ModalOverlay around the nested Modal, the nested Modal is rendered and gets access to the internal Modal context here which is setup by the parent Modal here, resulting in every nested Modal rendering its contents instead of automatically setting up their own ModalOverlay. This doesn't feel quite right to me, perhaps it shouldn't be accessing that internal context since it will setup its own ModalOverlay + ModalContents but I might be missing something here. If it turns out that we do require a ModalOverlay around every nested Modal, then we can definitely update the docs accordingly.
from react-spectrum.
Related Issues (20)
- Thoughts on Collection API consistency HOT 9
- Combobox crashes on ios 18 (childNodes is not supported) HOT 3
- Uncontrolled RAC TextField does not restore value on browser tab restoration
- Popover with `<input autoFocus/>` scrolls to bottom HOT 2
- Combobox popover disappears during scroll HOT 1
- `MergeProvider` HOT 3
- Holding Option/Alt does not allow selection of text inside Link HOT 3
- Not getting no items view in plain combobox component HOT 3
- Removing a Tag in a TagGroup with disabled Tags crashes the page HOT 2
- RAC Virtualizer content element should have `role="presentation"`
- Unable to drag and drop links HOT 1
- Extended IME support for `@internationalized/number` HOT 2
- Meter component: issues identified by Axe DevTools HOT 3
- Hope that Radio and Checkbox will support the Number type HOT 3
- ComboBox doesn't open when `onInputChange` updates items asynchronously
- Last options not getting rendered in popover after selection in combobox HOT 4
- Getting Blank spaces in the middle of the popover while a try to navigate using key board up arrow and down arrow in combobox HOT 2
- The onAction handler is called twice when passed to MenuItem. HOT 1
- [internationalized/date] Add eachMonthOfInterval query
- Pressing Esc while dragging with the keyboard does not return focus in lists 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 react-spectrum.