# Pourquoi Discourse n'utilise-t-il pas position:sticky pour l'en-tête supérieur ?

**URL:** https://meta.discourse.org/t/why-doesnt-discourse-use-position-sticky-for-the-top-header/101960
**Category:** UX
**Created:** [Novembre 13, 2018, 6:24 UTC](https://meta.discourse.org/t/why-doesnt-discourse-use-position-sticky-for-the-top-header/101960 "2018-11-13T18:24:27Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [Novembre 13, 2018, 7:25 UTC](https://meta.discourse.org/t/why-doesnt-discourse-use-position-sticky-for-the-top-header/101960/3 "2018-11-13T19:25:39Z")

</div>

Using position:sticky can help avoid a cornucopia of jank bugs related to slowly-dispatched scroll events and measuring things. Here’s another one:

> [@Timeline Positioning Responds Slowly until Mouse Clicked, Overlap Issue](https://meta.discourse.org/t/timeline-positioning-responds-slowly-until-mouse-clicked-overlap-issue/53713):
>
> I’m not sure if this began occurring with the new update or prior, but now when I scroll down a longer topic, the post number on the timeline scroller remains the same until I click my left mouse button or wait for what seems like an extended length of time. Additionally, when I scroll up to reach the top of the post, the timeline scroller overlaps my global notice (as seen in the screenshot below). And here’s a GIF of the bug caught in the act (you can see it snaps back once I click…

I admit it’s not a big deal, but it would provide actual improvements for browsers that support it, not just warm fuzzies.

---

_[View the full topic](https://meta.discourse.org/t/why-doesnt-discourse-use-position-sticky-for-the-top-header/101960)._
