palantir/blueprint

Default overlay leave transition does not fade content nicely

オープン

#4,923 opened on 2021/09/21

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (2,167 件のフォーク)batch import
P3Package: coreType: enhancementhelp wanted

Repository metrics

Stars
 (20,263 個のスター)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

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

  1. Open overlay with button
  2. click outside overlay to close it
  3. 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.

Possible solution

コントリビューターガイド