Skip to content

Commit

Permalink
fix(ui): dSkipFirstTransition should be false to keep mask transi…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
xiejay97 committed Nov 18, 2022
1 parent eec6be0 commit 22c1f9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/components/_mask/Mask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export function DMask(props: DMaskProps): JSX.Element | null {
<DTransition
dIn={dVisible}
dDuring={TTANSITION_DURING_FAST}
// TODO: Should it be controllable?
dSkipFirstTransition={false}
afterEnter={() => {
afterVisibleChange?.(true);
}}
Expand Down

0 comments on commit 22c1f9e

Please sign in to comment.