The CreatorCon Call for Content is officially open! Get started here.

Bug? Odd behavior with automatically moving view to top of [sc_category] page when a category is chosen?

patricklatella
Mega Sage

Hi all,

I'm seeing odd behavior with the "SC Categories" widget...guessing this is a quick fix?  I have a client whose got 21 categories in their catalog for their portal.  When I click on the first 11 that are listed in the OOB "SC Categories" widget, the page snaps back to the top of the page so you see the top row of catalog items in that category.  But for the 12th category down and through the rest of the list it doesn't snap back to the top, it stays where you scrolled down to in order to see the lower categories...I then have to manually scroll back to the top.  Any idea what might be causing this?

 

1 ACCEPTED SOLUTION

patricklatella
Mega Sage

I raised a HI ticket for this issue and their fix was to import the most recent version of the "SC Categories" widget into our instance and the issue is resolved.  I set the "Number of categories to load" to 25 in the instance options and it's working correctly...when you click on one of the categories that is further down in the list the page reload so the top of the visible catalog items...that is the desired behavior. 

If anyone else sees this same issue, the [sys_updated_on] for the "SC Categories" widget that the scrolling works is "4-12-2018"...so look for this version for the fix.

View solution in original post

5 REPLIES 5

patricklatella
Mega Sage

I'm testing this in my personal developer instance and seeing that it does the same thing...is this a bug?  See my screen shot...after clicking Test 5, it doesn't snap back to the top of the page...so you get this view and have to scroll up.

find_real_file.png

Hi,

I can't see how many are above outside of the screenshot, but are the other categories you're clicking loading something else...whereas the test ones aren't? Can you temp put the same or some of the same items that make peripherals snap up under one of the test ones to see if it's just a loading of the item widget that is causing it to snap as I don't think the category link itself does that, but it's a by-product of something else loading?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hey Patrick,

By default the sc_categories widget option for number of categories to load is 15. This option count got changed when I added a bunch more of categories. So, I went back to the sc_categories widget option and set it back to 15. The behavior of snap back returned as normal. Test it and see...

 

find_real_file.png

find_real_file.png

 

patricklatella
Mega Sage

I raised a HI ticket for this issue and their fix was to import the most recent version of the "SC Categories" widget into our instance and the issue is resolved.  I set the "Number of categories to load" to 25 in the instance options and it's working correctly...when you click on one of the categories that is further down in the list the page reload so the top of the visible catalog items...that is the desired behavior. 

If anyone else sees this same issue, the [sys_updated_on] for the "SC Categories" widget that the scrolling works is "4-12-2018"...so look for this version for the fix.