Fix dropdown hiding under buttons
This commit is contained in:
parent
34a46a388f
commit
cb9eb918b2
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class DropdownMenu extends React.PureComponent<Props, State> {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
this.setState({ visible: false });
|
this.setState({ visible: false });
|
||||||
}}
|
}}
|
||||||
css={tw`absolute bg-white p-2 rounded border border-neutral-700 shadow-lg text-neutral-500 min-w-48`}
|
css={tw`absolute bg-white p-2 rounded border border-neutral-700 shadow-lg text-neutral-500 min-w-48 z-50`}
|
||||||
>
|
>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue