# Custom Scroll Bar Logic

**URL:** <https://discourse.elm-lang.org/t/custom-scroll-bar-logic/6403>\
**Category:** Learn\
**Created:** [October 15, 2020, 5:09pm UTC](https://discourse.elm-lang.org/t/custom-scroll-bar-logic/6403 "2020-10-15T17:09:23Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![rupert](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/rupert/32/1775_2.png) [@rupert](https://discourse.elm-lang.org/u/rupert)\
**Post date:** [October 19, 2020, 10:07pm UTC](https://discourse.elm-lang.org/t/custom-scroll-bar-logic/6403/15 "2020-10-19T22:07:19Z")

</div>

> [@hans-helmut](#):
>
> Small bug: Pressing PgUp some times after load causes PgDown not working, until the same number of keypresses is done on both keys. Maybe some underflow?

Yes, it does that. Didn’t seem critical to fix it, as I was more interested in the scrolling.

---

_[View the full topic](https://discourse.elm-lang.org/t/custom-scroll-bar-logic/6403)._
