Figma prototype

I am designing a page in which we have multiple icons and when we click a notification icon a screen opens by open overlay(flow 1) that notification screen has a scroll bar to enable scroll bar I have add an interaction for that(flow 2).
Now when I run flow 1 and click on notification icon then the overlay screen opens but when I try to scroll up or down in that screen then Figma switches the layout only to that overlay screen.
How to resolve this issue.