cascade copies material3's behavior of limiting elevation to 8dp. This was done to workaround a bug on systems older than API level 31 where any content under drop shadows weren't visible to screen readers (source).
This is unfortunate because larger shadows look definitely a lot nicer. cascade should read the project's minSdk and allow elevations > 8.dp on API level 31 and above.
cascade
copies material3's behavior of limiting elevation to 8dp. This was done to workaround a bug on systems older than API level 31 where any content under drop shadows weren't visible to screen readers (source).https://github.com/saket/cascade/blob/f3840d7ec5d4ce5fa3edf0c0d930cfd08107b456/cascade-compose/src/main/java/me/saket/cascade/Cascade.kt#L202
This is unfortunate because larger shadows look definitely a lot nicer.
cascade
should read the project'sminSdk
and allow elevations >8.dp
on API level 31 and above.