Maybe there is already a way of achieving this, but I am putting together a image hotspots component, and I would like the dropdowns to be auto positioned to fit within the image container div, rather than based on width of viewport or scroll depth.
Currently, the dropdowns flow out of the image container:
And I would like for a way to use the auto position to keep it within the image div:
Is there already a way to do this by adding some CSS to the container? Or would it need to be a feature added to the dropdown js?
Thanks!