In the end i took another approach on this project and did it without a pop up modal.
The problem was that the popup wasn’t visible over the size of the collection item, as it was a child element of it.
Maybe you could try the following:
When you open the modal via an interaction, resize/scale the collection item element. This way the modal inside it can be displayed bigger. To darken the background, place a div with absolute positioning outside of the collection list and trigger it with the pop-modal-interaction.
You just have do deal with the offset and make sure that it will be displayed centered on the screen.
I think this is more an hack instead of a clean solution. Should i get some time in the future, i will try to investigate further on it and let you know about it.
I,m struggling with that same issue for a year now. the pop-up works every where else, but keeps on fixing the the “slider slide” instead of to the full screen (body).
Intriguing thread. It should not be overly difficult to make an interactions-based pop-up work in a slider, but it may be a bit trickier to get the built-in slider interactions to work smoothly with your custom pop-up interactions. Lots of things trying to do stuff.
An easier way is to build the interactions popup outside of the slider, give it a hidden trigger button with an ID. Then in your slider, it’s easy to “click” that trigger button using JS.