Change the way clicking/touching buttons work in Material UI

When you click/touch something in Material UI, it only “recognizes” it when it’s pressed, not released! It should be when you release the button not press! I hope you know what I mean!