How to scroll to anchor tag inside modal window?

Hello guys,
I have a one-pager website and the privacy policy will open in a modal window.
Inside the modal, there’s a text navigation which is supposed to scroll down to the text blocks of the privacy policy inside the modal.
Unfortunately this doesn’t work with the usual method of giving the text an id and linking to it - it scrolls the page outside instead of the content inside the modal window.
Does anybody have a solution for this? Would appreciate the help!

Here is my site Read-Only: Read-Only Link

1 Like