I have a mui modal where a lot content is to be displayed. When I open the modal, the top content gets cut-off and I am unable to scroll up. I have already tried adding {overflow:"scroll"} property to the modal. However, it is't working. This is the code I am currently using:
<Modal
open={viewCreateSegmentModal}
onClose={() => handleCreateSegmentModal(false)}
sx={{
overflow:'scroll',
height:'100%'}}
>
<div style={{overflow:"scroll"}}>
<CreateSegmentModal
modalControl={(value) => handleCreateSegmentModal(value)}
/>
</div>
</Modal>
Any suggestions to how this issue can be resolved?

