# Disable Scroll \[enable\] attribute + anchor link issues

**URL:** <https://forum.finsweet.com/t/disable-scroll-enable-attribute-anchor-link-issues/833>\
**Category:** General\
**Created:** [May 28, 2023, 4:58am UTC](https://forum.finsweet.com/t/disable-scroll-enable-attribute-anchor-link-issues/833 "2023-05-28T04:58:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaime](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jaime](https://forum.finsweet.com/u/jaime)\
**Post date:** [May 28, 2023, 4:58am UTC](https://forum.finsweet.com/t/disable-scroll-enable-attribute-anchor-link-issues/833/1 "2023-05-28T04:58:43Z")

</div>

I’m having a problem getting the ‘enable’ function on the Disable Scroll attribute working on anchor links. Is this a known limitation? The function works fine if I remove the anchor link from the link block

---

<div class="post-metadata">

**Author:** ![josephmukunga](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/josephmukunga/32/522_2.png) [@josephmukunga](https://forum.finsweet.com/u/josephmukunga)\
**Post date:** [May 29, 2023, 1:15pm UTC](https://forum.finsweet.com/t/disable-scroll-enable-attribute-anchor-link-issues/833/2 "2023-05-29T13:15:31Z")

</div>

Hello @jaime, there would be a limitation since that would mean the anchor link would have to listen to 2 events i.e. disable scroll event and anchor click event
