palantir/blueprint
View on GitHubDefault overlay leave transition does not fade content nicely
Open
#4,923 opened on Sep 21, 2021
P3Package: coreType: enhancementhelp wanted
Description
Environment
- Package version(s): 3.49.1
Code Sandbox
Link to a minimal repro https://codesandbox.io/s/blueprint-overlay-ktx4f?file=/src/index.tsx
Steps to reproduce
- Open overlay with button
- click outside overlay to close it
- the backdrop fades but the card hangs for a second and then disappears in a very clunky transition
Expected behavior
The default transition should match the fade of the backdrop so that it looks nice. The docs use a custom transition. It would be nice to cleanup the default transition and use that instead.