diff --git a/_sass/search.scss b/_sass/search.scss
index 5e75a90be7b76e00ae592ecd6abc0573cc1c8299..25f40db89ca1e5d519269bb8fe8c78e762b5ad87 100644
--- a/_sass/search.scss
+++ b/_sass/search.scss
@@ -209,7 +209,7 @@
   height: 0;
   background-color: rgba(0, 0, 0, 0.2);
   opacity: 0;
-  transition: opacity ease 200ms;
+  transition: opacity ease 200ms, width 0s 200ms, height 0s 200ms
 }
 
 .search-active {
@@ -237,5 +237,6 @@
     width: 100%;
     height: 100%;
     opacity: 1;
+    transition: opacity ease 200ms, width 0s, height 0s;
   }
 }