Hello, I am experimenting with Compose and WASM, I...
# multiplatform
j
Hello, I am experimenting with Compose and WASM, I am having a hard time finding any sort of resources or composable for web. I am trying to implement a "scroll in place" where instead of scrolling up and down pages fade into view and out of view. ChatGpt keeps suggesting using Div, Style, etc which do not seem to be available for WASM. any suggestions?
c
You would probably have to write a custom scroll/touch listener, wasm uses a canvas to draw, similar to iOS, all targets "should" act the same way as android/desktop/ios etc, so it's not really a "web" thing when your building a wasm target.