Comments (3)
I think you'll need to placeisDismissable
on the ModalOverlay
component instead of the Modal
component. Someone else reported that this wasn't clear in our docs (#6277). Let us know if that solves your issue.
from react-spectrum.
Thank you!
It appears nowhere in the page (i found out a seemingly hidden link here https://react-spectrum.adobe.com/react-aria/Modal.html#advanced-customization which pops up props for modal overlay now that you mentioned it). It should be either in advanced customization, or really ModalOverlay should have a page for itself.
How many other components don't have their own page? As a user I think the documentation would be much better if each component has a page for itself. This is an open source project and I am tremendously grateful for the contribution.
Thanks so much, at least now hopefully people will find this by googling this issue :D
from react-spectrum.
Oh by the way, I think adding that to the tailwind example may also be very helpful. I was using a workaround by using plain css and not using the modal overlay at all
from react-spectrum.
Related Issues (20)
- Focus problem when onHover is called in Select / Listbox HOT 2
- ComboBox.allowsEmptyCollection resets input when inputValue starts scrolling HOT 2
- Limit the range can selected based on start date in useRangePicker
- number field does not allow input from MacOS Japanese IME keyboard HOT 4
- RAC ComboBox isReadOnly does not disallow selections when menuTrigger is set to focus HOT 1
- Duplicate keys in collections when rendering in tests with React 17
- Focus Ring not disappearing in pointer input mode HOT 5
- RAC NumberField validation broken in next.js HOT 2
- RAC Datepicker should not submit value when disabled HOT 2
- OverlayTriggerStateContext is null when used within the RAC Select HOT 1
- RAC `Input` `defaultValue` causes error HOT 2
- RAC Menu usability issue on mobile due to lack of tray feature HOT 1
- From Collection.mjs : use-sync-external-store/shim/index.js doesn't provide an export named: 'useSyncExternalStore' HOT 3
- Typosquatting on react-aria/toast? HOT 1
- RAC `Slider` causes "No label associated with a form field" issue HOT 3
- [useTablist] tabpanel elements are not focusable when layout differs as per docs HOT 7
- Submenu doesn't open on arrow key when using typeahead to select it if keypresses are made once it's already been focussed HOT 4
- Default value for `placement` prop in RAC Tooltip docs should be `'top'` instead of `'bottom'` HOT 1
- Textfield validation icon is clipped out of the box HOT 1
- useListState is entering infinite loop after removing last focused item that is not disabled HOT 2
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.