Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem when going back to page with search results
This topic contains 9 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 5 months ago.
- AuthorPosts
- October 6, 2021 at 8:44 am #35027
Hello,
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??
October 6, 2021 at 10:20 am #35031Hi,
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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 6, 2021 at 12:54 pm #35033You cannot access this content.October 6, 2021 at 1:26 pm #35036You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 6, 2021 at 1:37 pm #35037You cannot access this content.October 6, 2021 at 3:00 pm #35040Thank you, that worked.
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.
Best,
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.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 6, 2021 at 3:33 pm #35045Thanks, i the solution live now?
October 7, 2021 at 6:22 am #35050Yes, although I only tested on Chrome an Firefox browsers.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 7, 2021 at 10:05 am #35054You cannot access this content.October 7, 2021 at 2:39 pm #35061Sorry, my mistake, I made a change there as well for testing, and I forgot to turn it off. It should be okay now.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.