Forums › Forums › Search & Filter Pro › Scroll to stopped working
- This topic has 15 replies, 2 voices, and was last updated 8 years, 7 months ago by Anonymous.
-
Ross Moderator(Private) April 14, 2016 at 9:32 am #42732
So strange – I’m guessing this is not happening for you on the demo?
http://demo.designsandcode.com/sfpro-movie-reviews/search/I’m going to have to do some tests, but it sounds like a JS conflict of some sort that is only presenting itself in Chrome – weird.
BTW, I plan to add in select2 in the next 1-2 weeks – and I’m considering your other plugin suggestion too.
Thanks
Anonymous(Private) April 14, 2016 at 10:00 am #42738Hi Ross,
Yes it works fine on the demo, it just makes no sense does it! If it was an overall JS conflict you’d expect it to affect, and show up as a JS error, across all browsers but there’s just no error from what I can see. Just Chrome decides to hard jump it to the top of the whole page, and Safari on mobile just doesn’t move the page at all, so you stay at paging viewpoint. Let me know what you find, I hate things that make zero sense hehe!
And that’s brilliant about the select box update Ross, and for considering my other suggestion too. Thanks so much, and as I say if you need any help testing, more than happy.
Anonymous(Private) April 17, 2016 at 12:25 am #42980Hey Ross,
Update on the scrollTo. I’ve manually added the scroll back in as per your example, sadly it still didn’t work. I sorted it by adding the additional stop() as below) :
if($("#focus-results").length>0) { $("html, body").stop().animate({scrollTop: $("#focus-results").offset().top}, "normal", "easeOutQuad" ); }
Still not sure why it actually stopped working though as obviously it should just work on it’s own without having to add that, and it has done previously… And not sure why the stop() made the difference. Hopefully it will make more sense to you.
Over and out ๐
Ross Moderator(Private) April 18, 2016 at 8:20 pm #43141Hey TJ
I actually really like the look of the sumo script ๐ I need something like this in S&F for sure, but will take a bit longer development time.
RE the other issue, I guess somehow in Chrome on your site it thinks its animating, or there is some conflict in animation.. I’m not sure why..
Anyway, adding a stop before that animation does not hurt me at all, and in fact under some circumstances makes sense (ie if something else was scrolling a users page at that point).
So, I’ve added this into S&F ๐ And emailed you a copy.
Thanks
Anonymous(Private) April 18, 2016 at 9:01 pm #43157Hey Ross,
Yes absolutely ๐ – as I say if you need any help testing when you do get to it, just give me a shout, be more than happy to help. Also as soon as I have a another site with search requirements I’ll be upgrading to dev license.
That’s great re the animation too and thanks so much for updating and sending me the copy :). Excellent support and response time as always!
-
AuthorPosts