scrolling - got click and drag scrolling to work o...
# compose-web
a
scrolling - got click and drag scrolling to work on web canvas. just use :
Copy code
val scrollState = rememberLazyListState()

modifier = Modifier.draggable(
                    orientation = Orientation.Vertical,
                    state = rememberDraggableState { delta ->
                        coroutineScope.launch {
                            scrollState.scrollBy(-delta)
                        }
                    }
                ),
so at least you can get down on scroll events. though yet to try hacking around the mouse not scrolling issue.