# Topics scrollbar not updating due to CSS customizations

**URL:** https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862
**Category:** Support
**Created:** [June 9, 2019, 8:25pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862 "2019-06-09T20:25:26Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jhf2442](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jhf2442/32/131921_2.png) [@jhf2442](https://meta.discourse.org/u/jhf2442)
#### Post date: [June 9, 2019, 8:25pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/1 "2019-06-09T20:25:26Z")

</div>

I think I’ve broken something on my discourse installation - scrollbar is no longer updating when scrolling.  
i.e. the indicator 1/25 changes to 2/25 and then remains at 2/25 for the remaining 23 posts. Also the URL of the topic no longer updates to `...../<post_number>`

In the javascript console I can see strange error messages:

````plaintext
_ember_jquery-0ae86c…ee94f26d9c3.js:5106 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
_ember_jquery-0ae86c…ee94f26d9c3.js:5106 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
_ember_jquery-0ae86c…ee94f26d9c3.js:1975 [Violation] 'setTimeout' handler took 886ms
[Violation] Forced reflow while executing JavaScript took 79ms
_ember_jquery-0ae86c…ee94f26d9c3.js:5106 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
_ember_jquery-0ae86c…e94f26d9c3.js:61218 [Violation] 'click' handler took 167ms
[Violation] Forced reflow while executing JavaScript took 45ms
﻿```

Any idea how to debug this issue ?

Many thanks

​
````

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 9, 2019, 8:30pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/2 "2019-06-09T20:30:34Z")

</div>

You will need to provide a link (preferably) or the full error for us.

---

<div class="post-metadata">

### Author: ![jhf2442](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jhf2442/32/131921_2.png) [@jhf2442](https://meta.discourse.org/u/jhf2442)
#### Post date: [June 9, 2019, 8:42pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/3 "2019-06-09T20:42:14Z")

</div>

Please try this one  
[https://discourse.mfc.bayern/t/feedback-sur-le-nouveau-site/6125](https://discourse.mfc.bayern/t/feedback-sur-le-nouveau-site/6125)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [June 9, 2019, 8:53pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/4 "2019-06-09T20:53:30Z")

</div>

When I use the [safe mode](https://meta.discourse.org/t/53504?silent=true) to deactive the theme modifications, it works well : [https://discourse.mfc.bayern/safe-mode](https://discourse.mfc.bayern/safe-mode)

Probably a script that breaks the timeline

---

<div class="post-metadata">

### Author: ![jhf2442](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jhf2442/32/131921_2.png) [@jhf2442](https://meta.discourse.org/u/jhf2442)
#### Post date: [June 9, 2019, 9:14pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/5 "2019-06-09T21:14:58Z")

</div>

actually it looks like it is a CSS breaking the timeline ! If I remove loading of [https://www.mfc.bayern/assets/css/headerfooter-style.css](https://www.mfc.bayern/assets/css/headerfooter-style.css) then it works  
Any hint how a CSS may break the timeline (which I assume is javascript based) ?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 9, 2019, 9:16pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/6 "2019-06-09T21:16:56Z")

</div>

You you change the heights in the wrong place, it will break the JS that detects scrolling.

---

<div class="post-metadata">

### Author: ![jhf2442](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jhf2442/32/131921_2.png) [@jhf2442](https://meta.discourse.org/u/jhf2442)
#### Post date: [June 9, 2019, 9:21pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/7 "2019-06-09T21:21:03Z")

</div>

which heights ? searching for height in the CSS yiels 140+ results ☹

---

<div class="post-metadata">

### Author: ![jhf2442](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jhf2442/32/131921_2.png) [@jhf2442](https://meta.discourse.org/u/jhf2442)
#### Post date: [June 9, 2019, 10:22pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/8 "2019-06-09T22:22:46Z")

</div>

OK found it  
html,  
body {  
height: 100%; }

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 9, 2019, 10:22pm UTC](https://meta.discourse.org/t/topics-scrollbar-not-updating-due-to-css-customizations/119862/9 "2019-07-09T22:22:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
