# Sticky sidebar in cell

**URL:** <https://talk.observablehq.com/t/sticky-sidebar-in-cell/2268>\
**Category:** Help\
**Created:** [August 15, 2019, 10:39pm UTC](https://talk.observablehq.com/t/sticky-sidebar-in-cell/2268 "2019-08-15T22:39:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bgchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bgchen/32/784_2.png) [@bgchen](https://talk.observablehq.com/u/bgchen)\
**Post date:** [August 15, 2019, 10:54pm UTC](https://talk.observablehq.com/t/sticky-sidebar-in-cell/2268/2 "2019-08-15T22:54:24Z")

</div>

Hi Kevin, I think this has been disabled for notebooks hosted on [https://observablehq.com](https://observablehq.com) on purpose:

> [@Sticky div and Top button integration to notebook](https://talk.observablehq.com/t/sticky-div-and-top-button-integration-to-notebook/1079/2):
>
> This isn’t currently possible, sorry. Notebook content is not allowed to overlay system content; this makes it harder for user-generated notebook content to masquerade as part of the system user interface. It might be possible to support this in some limited way in the future (say by having a special sticky cell), but we don’t have any current plans to support it. You can using position-sticky and position-fixed elements when you [embed your notebook on your own site](https://beta.observablehq.com/@jashkenas/downloading-and-embedding-notebooks), where you control how your …

You might be able to pull off something that accomplishes this with the [IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) (?), but as far as I know doing it with CSS won’t work unless you embed the notebook on another site.

**Edit** : I just found this neat demo of IntersectionObserver by @mbostock:

> **[Hello, IntersectionObserver](https://observablehq.com/@mbostock/hello-intersectionobserver)**
>
> This notebook demonstrates IntersectionObserver. See also the simpler (but more limited) visibility promise in Observable’s standard library. And now for some blank space. Scroll down to see the demonstration below! That was more blank space. Scroll...

---

_[View the full topic](https://talk.observablehq.com/t/sticky-sidebar-in-cell/2268)._
