My client is experiencing a problem with the search results. As you can see on this video: https://streamable.com/uluaev when they are on submitted url and go in to a custom post and then hit the return button in the browser they are coming back to the bottom of the page when they return.
I have tried to add a min-height for the search results container but it doesn’t help. And tried rewrite the url for the back-button but that doesn’t work either. Do you have any ideas??
I’m afraid this is a browser specific behaviour, the browser tries to scroll back to the original position, however the search results are not there yet, so it is miscalculated.
If you want, I can take a look at this via the source code to see if there is any way to correct. For that, please make sure to update the plugin to the latest version first (4.21.3). Then if you can add temporary FTP access I will try to debug it.
I may have found a possible resolution. It is still not perfect and probably never will be, as the browser sooner starts to restore the scrolling point before even the results are shown.
Currently for most of the time the plugin will try to scroll to the last clicked item, or to the last visible item if the item is not loaded yet.
I will include this or an improved fix in the upcoming release.