diff --git a/static/js/portico/integrations.js b/static/js/portico/integrations.js index 461a318b98..0961297f4c 100644 --- a/static/js/portico/integrations.js +++ b/static/js/portico/integrations.js @@ -370,11 +370,9 @@ function integration_events() { // combine selector use for both focusing the integrations searchbar and adding // the input event. - $(".integrations .searchbar input[type='text']") - .trigger("focus") - .on("input", (e) => { - dispatch("UPDATE_QUERY", {query: e.target.value.toLowerCase()}); - }); + $(".integrations .searchbar input[type='text']").on("input", (e) => { + dispatch("UPDATE_QUERY", {query: e.target.value.toLowerCase()}); + }); $(window).on("scroll", () => { if (document.body.scrollTop > 330) { @@ -402,4 +400,5 @@ $(() => { integration_events(); load_data(); dispatch("LOAD_PATH"); + $(".integrations .searchbar input[type='text']").trigger("focus"); }); diff --git a/static/styles/portico/integrations.scss b/static/styles/portico/integrations.scss index 2f78af5f61..6eeb3b4e8a 100644 --- a/static/styles/portico/integrations.scss +++ b/static/styles/portico/integrations.scss @@ -53,7 +53,6 @@ $category-text: hsl(219, 23%, 33%); padding: 50px 0; .inner-content { - transition: all 0.3s ease; min-height: 870px; .show {