# Scroll to current category broken as of 2.8.0.beta5

**URL:** <https://meta.discourse.org/t/scroll-to-current-category-broken-as-of-2-8-0-beta5/211458>\
**Category:** Bug\
**Created:** [December 8, 2021, 7:45am UTC](https://meta.discourse.org/t/scroll-to-current-category-broken-as-of-2-8-0-beta5/211458 "2021-12-08T07:45:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![davidnewkerk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidnewkerk/32/171224_2.png) [@davidnewkerk](https://meta.discourse.org/u/davidnewkerk)\
**Post date:** [December 8, 2021, 4:31pm UTC](https://meta.discourse.org/t/scroll-to-current-category-broken-as-of-2-8-0-beta5/211458/4 "2021-12-08T16:31:04Z")

</div>

Hi Joffrey, thanks for taking a look at this! I tested the latest changes, however it appears it didn’t work. As it has been merged, I confirmed on the tests-passed branch.

Of the two commits in the PR, the first one works ([ab0fbf1](https://github.com/discourse/discourse/pull/15230/commits/ab0fbf19220b1b43b0c28704d7e83277091bca83)), but is overridden by the second ([92943ff](https://github.com/discourse/discourse/pull/15230/commits/92943ff238fb8e61d4cf9fc9bbd9aa7b2dfd3f50)).

The change on [line 992](https://github.com/discourse/discourse/pull/15230/commits/92943ff238fb8e61d4cf9fc9bbd9aa7b2dfd3f50#diff-8c4f6bd8ea17d8470f2cbd9684787c9f5e5b141f74338b83a614db8928699e7dR992) seems fine but doesn’t have the expected effect. It does seem to need the code block that was removed that adjusts the `collectionContainer.scrollTop` value.

Again thanks!

---

_[View the full topic](https://meta.discourse.org/t/scroll-to-current-category-broken-as-of-2-8-0-beta5/211458)._
