https://kotlinlang.org logo
#compose
Title
# compose
n

nuhkoca

03/22/2022, 4:20 PM
Hello, whenever I apply a border to my
Card
, there is being a darker image on the rounded corners on the light mode. Is this a known bug?
Copy code
Card(
    modifier = modifier,
    shape = RoundedCornerShape(3.dp),
    border = BorderStroke(1.dp, MyTheme.colors.appBackground3)
) {
    ...
}
z

Zach Klippenstein (he/him) [MOD]

03/22/2022, 4:33 PM
Does that happen on devices or just the emulator?
n

nuhkoca

03/22/2022, 5:49 PM
hmm good question let me check on my device, only tested on emulator
happening on my device ,too
m

myanmarking

03/22/2022, 7:49 PM
Maybe related ro elevation. Try to set it to 0dp. Does the problem go away?
n

nuhkoca

03/22/2022, 10:04 PM
Yes tried it but same
z

Zach Klippenstein (he/him) [MOD]

03/23/2022, 5:44 PM
Please file a bug, tracker link in channel topic
n

nuhkoca

03/23/2022, 5:48 PM
Thanks!
z

Zach Klippenstein (he/him) [MOD]

03/23/2022, 5:56 PM
(and please post a link here when you’ve done so for future readers)
👍 1
4 Views