Resolves https://github.com/material-components/material-components-android/issues/704 PiperOrigin-RevId: 282783034