diff --git a/ui/src/Components/Animations/MountFade/index.css b/ui/src/Components/Animations/MountFade/index.css index 61752ab91..96cc05776 100644 --- a/ui/src/Components/Animations/MountFade/index.css +++ b/ui/src/Components/Animations/MountFade/index.css @@ -1,14 +1,8 @@ -.components-animation-fade-appear { - opacity: 0.01; -} -.components-animation-fade-appear-active { - opacity: 1; - transition: opacity 0.15s ease-in; -} - +.components-animation-fade-appear, .components-animation-fade-enter { opacity: 0.01; } +.components-animation-fade-appear-active, .components-animation-fade-enter-active { opacity: 1; transition: opacity 0.15s ease-in; @@ -19,5 +13,5 @@ } .components-animation-fade-exit-active { opacity: 0.01; - transition: opacity 0.15s ease-in; + transition: opacity 0.15s ease-out; } diff --git a/ui/src/Components/NavBar/index.js b/ui/src/Components/NavBar/index.js index 4fccf366a..a556e3100 100644 --- a/ui/src/Components/NavBar/index.js +++ b/ui/src/Components/NavBar/index.js @@ -11,10 +11,11 @@ import IdleTimer from "react-idle-timer"; import { AlertStore } from "Stores/AlertStore"; import { Settings } from "Stores/Settings"; import { SilenceFormStore } from "Stores/SilenceFormStore"; -import { FetchIndicator } from "./FetchIndicator"; -import { FilterInput } from "./FilterInput"; +import { DropdownSlide } from "Components/Animations/DropdownSlide"; import { MainModal } from "Components/MainModal"; import { SilenceModal } from "Components/SilenceModal"; +import { FetchIndicator } from "./FetchIndicator"; +import { FilterInput } from "./FilterInput"; import "./index.css"; @@ -46,6 +47,10 @@ const NavBar = observer( } ); + onHide = () => { + NavbarOnResize(0, 0); + }; + render() { const { alertStore, settingsStore, silenceFormStore } = this.props; @@ -63,34 +68,37 @@ const NavBar = observer( onIdle={this.activityStatus.setIdle} timeout={1000 * 60 * 3} > -