<Jetpack Compose detectDragGestures seems to be wo...
# stackoverflow
u
Jetpack Compose detectDragGestures seems to be working only when Canvas modifier is set to fillMaxSize or matchParentSize inside a Box I am creating a project where I have to move around Canvas elements(circles and lines) on drag gestures. I am using a Box composable to put different Canvas(s) inside it. And then with the help of pointerInput modifier I want to detect drag Gesture and hopefully achieve the behaviour I want. Box( modifier = Modifier .fillMaxSize() .padding(paddingValue),...