Comments (2)
Thank @brandongregoryscott. I have indeed set shouldCloseOnOverlayClick
to prevent this. Will leave the issue open as it's not ideal for our case, but feel free to close it if you want to reduce noise
from evergreen.
I don't think this is currently possible without hacking around the props exposed by the Dialog component. Our SideSheet component has this functionality (exposed through an onBeforeClose
prop which you can return false from to prevent closing), so it wouldn't be hard to add.
In the meantime, you might want to set shouldCloseOnOverlayClick
to false if you're worried about users closing your dialog without saving first.
from evergreen.
Related Issues (20)
- Textarea component loses borders under certain conditions
- Property 'children' does not exist on type 'IntrinsicAttributes & TooltipProps'. HOT 4
- SSR with Remix HOT 3
- `SideSheet` prevents page scroll even after closing, when `preventBodyScrolling` set to true HOT 3
- Style of selected tab differs between tab link and basic tab HOT 3
- Property `selected` should include `PropTypes.number` to allow integer values HOT 1
- Can't use (intent) and (type) property at the same time in <Button> component HOT 1
- Badge color should not have 'automatic' in its typing
- Feature request: Tooltip pointer arrow triangle shape (optional) HOT 1
- LinkProps.target should be `HTMLAttributeAnchorTarget | undefined`
- Button disabled icon color doesn't change HOT 2
- Badge no longer shows text if you pass color hex code HOT 8
- CSS modification HOT 1
- inputValue.trim is not a function when using object array for items in autocomplete with "allowOtherValues"
- NextJs 13 App Router
- zIndex for Toaster HOT 1
- Toaster CSS Overide
- Project still maintained? HOT 13
- Footer Component Positioning Problem 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 evergreen.