How to remain the overlay in the cropped frame

Hello. Thank you for reading the post. I’m working on the prototype with a map interaction for the hotel booking website. The structure of the page is 50% (a map) 50% (a list of the property). When you click the list of properties, it scrolls to the location on the map.

The thing is I also applied a popover card for each property which creates the matter here. Is there any chance I can remain the overlay inside of the frame, please?

Thank you for your time. Looking forward to hearing from the master of Figma!

Kind regards,
HM

Dunno if solves you scenario, but when setting an overlay you can choose custom position, which lets you move around and choose where is gonna position, relative to the element that triggered it.

Thank you for your reply. I will give them try. :slight_smile:

Many thanks,
HM