Documentation
Feedback
Guides

Release Notes
Release Notes
Infinite scroll on flexible Search Result page
October, 25

The infinite scroll config to fetch more results on flexible search result pages was deprecated. From here on out, it will only work on search result pages that do not use Flex Layout.

{"base64":"  ","img":{"width":2860,"height":1472,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":8305495,"url":"https://user-images.githubusercontent.com/52087100/66756478-7ea4fb00-ee70-11e9-8ba3-305f8e3bac83.gif"}}
Example of infinite scroll being used in the store's Search Result page.

Why this action is being taken

The infinite scroll configuration worsens the user experience, since it effectively never allows users to view the store's footer.

Since the Search Results component was recently released with the ability to be built using Flex Layout and since none of our clients uses infinite scroll in this new format, the deprecation will not be deleterious to any store.

However, it serves to make everyone aware of the fact that the technical team's recommendation is that every store, whether having flexible search result pages or not, opt for the use of a button such as Show more.

What has changed

Following this deprecation, the infinite scroll will be automatically replaced when rendered by a Show more button on flexible search result pages.

Upon inspecting the Search Results page, the console tab will show a warning about the deprecated configuration:

{"base64":"  ","img":{"width":653,"height":18,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":6068,"url":"https://user-images.githubusercontent.com/52087100/67563877-05bb6400-f6f8-11e9-9804-e3b39d23cb5f.png"}}

Side effects

This deprecation expects no side effects.

Was this helpful?
Yes
No
On this page