diff --git a/packages/ui-drawer-layout/src/DrawerLayout/DrawerTray/index.tsx b/packages/ui-drawer-layout/src/DrawerLayout/DrawerTray/index.tsx index 4efc5f7c6c..21cff219d3 100644 --- a/packages/ui-drawer-layout/src/DrawerLayout/DrawerTray/index.tsx +++ b/packages/ui-drawer-layout/src/DrawerLayout/DrawerTray/index.tsx @@ -252,30 +252,28 @@ class DrawerTray extends Component< ref={this.handleContentRef} css={trayStyles} > - {this.state.transitioning ? ( - this.renderContent() - ) : ( - - {this.renderContent()} - - )} + + {this.renderContent()} + ) diff --git a/packages/ui-tray/src/Tray/index.tsx b/packages/ui-tray/src/Tray/index.tsx index 8a3b61960b..6223e47785 100644 --- a/packages/ui-tray/src/Tray/index.tsx +++ b/packages/ui-tray/src/Tray/index.tsx @@ -201,25 +201,23 @@ class Tray extends Component { css={this.props.styles?.tray} ref={contentRef} > - {this.state.transitioning ? ( - children - ) : ( - -
{children}
-
- )} + +
{children}
+
)}