https://kotlinlang.org logo
#kobweb
Title
# kobweb
f

Funyinoluwa Kashimawo

10/23/2023, 4:27 PM
Hi @David Herman I noticed this with the silk switch on mobile device. The switch didn't move, just changed color. Also the transition animations were fade animated on mobile. Any suggestion on how I can fix that?
d

David Herman

10/23/2023, 6:28 PM
I wonder if that has always been broken! Let me look into that today
I'm not able to reproduce
Does your code look like this?
Copy code
var selected by remember { mutableStateOf(false) }
Switch(selected, onCheckedChange = { selected = it })
f

Funyinoluwa Kashimawo

10/23/2023, 8:51 PM
Yeah my code looks like that, and I was able to reproduce from what you deployed.
Android 11 Chrome browser.
d

David Herman

10/23/2023, 9:45 PM
Thanks. I'm also using Android. Can you compare your version with mine? Application version 118.0.5993.80 OS Android 14
f

Funyinoluwa Kashimawo

10/23/2023, 10:50 PM
Let me try updating mine
It worked fine after updating chrome.
d

David Herman

10/23/2023, 10:55 PM
Oh wow, that was a really old version of Chrome, wasn't it? 😄
Thanks for confirming it is working.
f

Funyinoluwa Kashimawo

10/23/2023, 10:55 PM
And the animations work too
d

David Herman

10/23/2023, 10:55 PM
I'll keep an eye out for more reports.
f

Funyinoluwa Kashimawo

10/23/2023, 10:56 PM
Thanks