diff --git a/playbook/app/pb_kits/playbook/pb_drawer/_drawer.tsx b/playbook/app/pb_kits/playbook/pb_drawer/_drawer.tsx index 314959b713..23d53d4e77 100644 --- a/playbook/app/pb_kits/playbook/pb_drawer/_drawer.tsx +++ b/playbook/app/pb_kits/playbook/pb_drawer/_drawer.tsx @@ -287,7 +287,6 @@ const Drawer = (props: DrawerProps): React.ReactElement => { {...ariaProps} {...dataProps} {...htmlProps} - style={dynamicInlineProps} className={classnames(drawerClassNames.base, { [drawerClassNames.afterOpen]: animationState === "afterOpen", @@ -296,6 +295,7 @@ const Drawer = (props: DrawerProps): React.ReactElement => { })} id={id} onClick={(e) => e.stopPropagation()} + style={dynamicInlineProps} > {children} @@ -306,7 +306,6 @@ const Drawer = (props: DrawerProps): React.ReactElement => { {...dataProps} {...htmlProps} className={classes} - style={dynamicInlineProps} > {isModalVisible && (