I'm working on an app that primarily features a map with points of interest. I'm using the Google Maps widget along with several markers. When a marker is clicked, a modal appears, similar to the one in the Google Maps app. This modal overlays the map and contains several images that can be swiped through either by dragging with a finger on a mobile device or by clicking and dragging with a mouse.
The problem I'm encountering is that when I perform this swipe action, the map in the background moves as well, leading to a poor user experience.
https://drive.google.com/file/d/1AtnTNhONZpV9TNM_sxbAyqVefImx6pnN/view?usp=sharing