Skip to content

Commit

Permalink
fix: appear=true only for transition not for child
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Nov 30, 2023
1 parent d6e9d01 commit e01de3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion sparkle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dust-tt/sparkle",
"version": "0.2.49",
"version": "0.2.48",
"scripts": {
"build": "rm -rf dist && rollup -c",
"build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true",
Expand Down
2 changes: 0 additions & 2 deletions sparkle/src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export function Modal({
leave="s-ease-in s-duration-150"
leaveFrom="s-opacity-100"
leaveTo="s-opacity-0"
appear={true}
>
<div className="s-fixed s-inset-0 s-bg-white/80 s-backdrop-blur-sm s-transition-opacity" />
</Transition.Child>
Expand All @@ -140,7 +139,6 @@ export function Modal({
leave="s-ease-in s-duration-200"
leaveFrom={transitionLeaveFrom}
leaveTo={transitionLeaveTo}
appear={true}
>
<Dialog.Panel
className={classNames(
Expand Down

0 comments on commit e01de3c

Please sign in to comment.