]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/dropdown-search.js
Added language list favourites sorting, updated styles
[bookstack] / resources / js / components / dropdown-search.js
index e2d55f9694ded7b9d938050f563fad4791a93cb4..81fa940c24ca7cf4a38ba66fe7b55e300d746100 100644 (file)
@@ -1,4 +1,5 @@
 import {debounce} from "../services/util";
+import {transitionHeight} from "../services/animations";
 
 class DropdownSearch {
 
@@ -51,7 +52,9 @@ class DropdownSearch {
 
         try {
             const resp = await window.$http.get(this.getAjaxUrl(searchTerm));
+            const animate = transitionHeight(this.listContainerElem, 80);
             this.listContainerElem.innerHTML = resp.data;
+            animate();
         } catch (err) {
             console.error(err);
         }