Animating command palette entering

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-04-27 15:23:57 +03:00
1 parent d981968a60
commit a387058fe3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -63,6 +63,6 @@
} }
&.opacity-scale { &.opacity-scale {
@include animate-opacity-scale; @include animate-opacity-scale(100ms);
} }
} }
@@ -73,7 +73,7 @@ export class CommandContainer extends React.Component<{ clusterId?: string }> {
render() { render() {
return ( return (
<Dialog isOpen={!!this.commandComponent} animated={false} onClose={() => this.commandComponent = null} modal={false}> <Dialog isOpen={!!this.commandComponent} animated={true} onClose={() => this.commandComponent = null} modal={false}>
<div id="command-container"> <div id="command-container">
{this.commandComponent} {this.commandComponent}
</div> </div>