@dcooney – Sorry for the late response. I realized that my issue had to do with my ALM instance being loaded near the bottom of my page. In the process of running $.fn.almFilter, the ‘.alm-listing’ element is cleared then repopulated. Since I had nothing on the page below this, when ‘.alm-listing’ was empty it was moving the viewport above the start of my ALM instance(not necessarily the top of the page).
The solution that worked for me in this particular case was setting a minimum height on the container element of my ALM instance. This made the filter changes less jarring.
-
This reply was modified 7 years, 4 months ago by edallison.