When utilizing a Shamsi Calendar within a Material UI Card, I encountered an issue where the calendar appears behind the card. I attempted adjusting the z-index of the Calendar and placing everything inside a div with another z-index, all while ensuring they both have a relative position. Unfortunately, this solution did not resolve the problem.
To better illustrate my dilemma, here is a simple example showcasing the issue: Sample Code
Upon interacting with the DatePicker, you can observe that it gets obscured by the second Card element. This seems to be related to Material UI, as the Calendar component should have proper layering considering its widespread use. Perhaps there is something specific about styling components in Material UI that I am overlooking, prompting me to reconsider my approach when working with these components?