sketchbook-compose
sketchbook-compose copied to clipboard
Sketchbook not working in ModalBottomSheetLayout
I use sketchbook version 1.0.4. If I add a sketchbook to ModalBottomSheetLayout only drawing that work are horizontal lines. ModalBottomSheetLayout steel events and sketchbook don't draw anything if I draw vertically.
Hi @drdla49,
Sketchbook composable function supports onEventListener and you can track the MotionEvent. I'm wondering if you can prevent scrolling behaviors of ModalBottomSheetLayout while touching down/move.
Stopping ModalBottomSheetLayout from moving/sliding/dragging is easy, but it still steals all the vertical events and therefore prevents from drawing properly.