# Disable Scroll Not Working Properly

**URL:** <https://forum.finsweet.com/t/disable-scroll-not-working-properly/3279>\
**Category:** Attributes\
**Tags:** scrolldisable\
**Created:** [August 14, 2024, 4:34pm UTC](https://forum.finsweet.com/t/disable-scroll-not-working-properly/3279 "2024-08-14T16:34:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob4](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jacob4/32/3480_2.png) [@jacob4](https://forum.finsweet.com/u/jacob4)\
**Post date:** [August 14, 2024, 4:34pm UTC](https://forum.finsweet.com/t/disable-scroll-not-working-properly/3279/1 "2024-08-14T16:34:14Z")

</div>

Hi, I’m having issues with disable scroll to work. When I hover over my navbar menu wrapper, I want an element visibility to toggle scroll. Automated support says it’s setup properly but it’s not working. I’ve confirmed that the element is visible when the div is hovered over and is hidden when not hovered over. [Here](https://preview.webflow.com/preview/landus?utm_medium=preview_link&utm_source=designer&utm_content=landus&preview=478ca8a926db6a371dbd75169ca83a45&workflow=preview) is my read-only link.

Can you assist with this? Thank you!

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [August 14, 2024, 5:50pm UTC](https://forum.finsweet.com/t/disable-scroll-not-working-properly/3279/2 "2024-08-14T17:50:58Z")

</div>

Hello, @jacob4! I see there are several elements with `fs-scrolldisable-element` with different options set to each of them.

If you want to disable scroll only when the nav is open, leave the `fs-scrolldisable-element="when-visible"` on the element below and remove the rest from the page.

 ![Screenshot 2024-08-14 at 18.46.09](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/c/cb4f5fe0574de7aa723337d9eba05c3b90342f6c.jpeg)

Here is a quick video on this setup working.

https://www.loom.com/embed/e62725fcb1eb46918bff26d23da81846
