Having a problem with my mui modal where the top content is getting cut off and I can't scroll up. I've tried adding the {overflow:"scroll"} property to the modal but it's not working. Here's the code snippet I'm currently using:
<Modal
open={viewCreateSegmentModal}
onClose={() => handleCreateSegmentModal(false)}
sx={{
overflow:'scroll',
height:'100%'}}
>
<div style={{overflow:"scroll"}}>
<CreateSegmentModal
modalControl={(value) => handleCreateSegmentModal(value)}
/>
</div>
</Modal>
https://i.stack.imgur.com/S7HYG.png
https://i.stack.imgur.com/ehfPw.png
Any thoughts on how this issue can be fixed?