Currently, my page features a menu bar and an iframe section designed to load the items from the menu bar when clicked. I want the iframe to have scrolling capabilities while keeping the menu bar fixed at the top of the page.
However, the parent page also scrolls along with the iframe content. To address this issue, I attempted setting position: fixed
for the parent page. This seemed to solve the problem initially, but the content below can now only be scrolled up to a certain point before becoming cut off (refer to the image below). How can I fix this so that both the iframe and the parent page scroll functionality work as intended?