After updating to compose version 1.7 and kotlin to 2.0, having this issue with shadowElevation. When scrolling or swiping around horizontal pager shadowElevation for Surface and Cards not showing.
Anyone faced similar issue? Any fixes?
Please file the issue to Compose tracker, 1.7 changed how graphics layers work quite significantly, this looks like a regression from that change
n
Nabeel
05/27/2024, 7:19 PM
@shikasd Found the issue int the list screen. It happens when the clickable modifier set to the child composable of Surface. If I set the onClick to Surface it works fine.
Nabeel
05/27/2024, 7:20 PM
But for the apps screen still having the issue.
Anyways I'm reporting in Issue tracker.