Skip to content

Commit

Permalink
Fix transition-property for dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Jul 4, 2024
1 parent 64de803 commit eee4e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Use logical properties instead of physical properties.
- Add grow-0, shrink, and bg-shade to utility classes.
- Use `min-inline-size: fit-content;` instead of `white-space: nowrap;` for buttons.
- Fix `transition-property` for dialog.

## [0.0.15] - 2024-07-03
- `Dialog` was reimplemented to not support popover.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
inline-size: var(--size-full);
margin: auto;
max-inline-size: var(--width-lg);
overflow: hidden;
padding: var(--size-6);

&::backdrop {
Expand All @@ -19,13 +18,13 @@
transform: var(--scale-95);
transition-behavior: allow-discrete;
transition-duration: var(--time-150);
transition-property: display overlay opacity transform;
transition-property: display, overlay, opacity, transform;

&::backdrop {
opacity: 0;
transition-behavior: allow-discrete;
transition-duration: var(--time-150);
transition-property: display overlay opacity;
transition-property: display, overlay, opacity;
}

/* In animation */
Expand Down

0 comments on commit eee4e93

Please sign in to comment.