# Stop propagating scroll events when modal dialogs are visible or scrollable popups have focus

**URL:** <https://meta.discourse.org/t/stop-propagating-scroll-events-when-modal-dialogs-are-visible-or-scrollable-popups-have-focus/33264>\
**Category:** UX\
**Created:** [Setembro 14, 2015, 11:25pm UTC](https://meta.discourse.org/t/stop-propagating-scroll-events-when-modal-dialogs-are-visible-or-scrollable-popups-have-focus/33264 "2015-09-14T23:25:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [Setembro 15, 2015, 3:34am UTC](https://meta.discourse.org/t/stop-propagating-scroll-events-when-modal-dialogs-are-visible-or-scrollable-popups-have-focus/33264/3 "2015-09-15T03:34:45Z")

</div>

> [@gerhard](#):
>
> Facebook does a great job in both cases:

On facebook when a dropdown menu is opened, if the mouse is over the dropdown you are only able to scroll the dropdown, if you leave the dropdown open but move the mouse onto the main window, you are only able to scroll the window. It feels very intuitive to me. It could work that way for both the menus and the editor on Discourse.

---

_[View the full topic](https://meta.discourse.org/t/stop-propagating-scroll-events-when-modal-dialogs-are-visible-or-scrollable-popups-have-focus/33264)._
