[Ripple] Add the layer masking in layoutSublayers if there are sublayers present. (#8359)
[Ripple] Add the layer masking in layoutSublayers if there are sublayers present. (#8359)

This call is needed in cases where the ripple is added and stays, but then a re-layout occurs. This was found to be needed in internal testing, and seems to resolve those issues.
material-components/material-components-ios,material-components/material-components-ios,material-components/material-components-ios,material-components/material-components-ios,material-components/material-components-ios