Skip to content

Commit 46afca2

Browse files
committed
fix(material): add transition prop to components
1 parent d344de6 commit 46afca2

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/heavy-teeth-crash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@suid/material": patch
3+
---
4+
5+
fix(material): add transition prop to components

packages/material/src/Dialog/Dialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ const Dialog = $.defineComponent(function Dialog(inProps) {
304304
onClick={handleBackdropClick}
305305
ownerState={ownerState}
306306
{...other}
307+
transition
307308
>
308309
<baseProps.TransitionComponent
309310
appear

packages/material/src/Popover/Popover.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ const Popover = $.defineComponent(function Popover(inProps) {
443443
open={props.open}
444444
ownerState={ownerState}
445445
{...other}
446+
transition
446447
>
447448
<baseProps.TransitionComponent
448449
appear

0 commit comments

Comments
 (0)