Currently, I am facing a challenge with my carousel that contains thumbnails. Whenever a thumbnail is clicked, a larger preview should appear centered above the clicked item. The issue arises because the container div of the carousel has overflow: hidden; property applied to it, resulting in elements being clipped. However, I urgently require the larger preview to bypass this overflow rule. Is there a solution to achieve this?
In addition, the list items within the carousel must have position: relative for proper alignment of the larger preview above the selected thumbnail.
To better illustrate the problem, please refer to the image below:
Upon removing the overflow: hidden; property from the carousel's container div, the following result occurs:
The large thumbnail appears as desired, but the carousel items/thumbnails are no longer clipped. Is there a potential solution to address this issue, possibly through CSS or jQuery implementations?