Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
drawer - non blocks first
Browse files Browse the repository at this point in the history
  • Loading branch information
KutnerUri committed Jun 28, 2020
1 parent 5fdce35 commit 0eaf47e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/surfaces/drawer/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export class Drawer extends Component<DrawerProps, DrawerState> {
const {
placeholder,
children,
className,
PlaceholderComponent = DefaultPlaceholder,
clickOutside,

Expand Down Expand Up @@ -154,10 +153,10 @@ export class Drawer extends Component<DrawerProps, DrawerState> {
onMouseEnter={this.handleEnterContainer}
onClick={this.handleContainerClick}
>
{children}
<PlaceholderComponent onClick={this.handePlaceholderClick}>
{placeholder}
</PlaceholderComponent>
{children}
</Container>
</ClickOutside>
);
Expand Down

0 comments on commit 0eaf47e

Please sign in to comment.