# Adding an overlay to code blocks to prevent scroll until user click it

**URL:** <https://meta.discourse.org/t/adding-an-overlay-to-code-blocks-to-prevent-scroll-until-user-click-it/301709>\
**Category:** Feature\
**Tags:** mobile\
**Created:** [March 31, 2024, 6:57am UTC](https://meta.discourse.org/t/adding-an-overlay-to-code-blocks-to-prevent-scroll-until-user-click-it/301709 "2024-03-31T06:57:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [April 3, 2024, 3:07am UTC](https://meta.discourse.org/t/adding-an-overlay-to-code-blocks-to-prevent-scroll-until-user-click-it/301709/3 "2024-04-03T03:07:29Z")

</div>

Yeah, I thought about it. It’s totally doable with a component. I’ll try it. 🙂

---

_[View the full topic](https://meta.discourse.org/t/adding-an-overlay-to-code-blocks-to-prevent-scroll-until-user-click-it/301709)._
