hi guys , how can we make our UI responsive when using WASM ? Like for mobile chrome I want to show different UI for desktop chrome different.
a
Artem Kobzar
04/19/2024, 1:42 PM
What UI framework do you use?
m
Mohammad Zaki
04/19/2024, 1:51 PM
Compose KMP
a
Artem Kobzar
04/19/2024, 2:00 PM
Wasm backend doesn't provide something specific for such a task. Try to ask in #compose and #compose-web channels
p
Pablichjenkov
04/19/2024, 4:20 PM
Basically you handle that your own using the various techniques to get the current window size.
Look up for compose adaptive components , the material library has a couple of them although you can create your own.