Skip to content

Sketchbook not working in ModalBottomSheetLayout #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
drdla49 opened this issue Oct 10, 2022 · 2 comments
Open

Sketchbook not working in ModalBottomSheetLayout #13

drdla49 opened this issue Oct 10, 2022 · 2 comments

Comments

@drdla49
Copy link

drdla49 commented Oct 10, 2022

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.

@skydoves
Copy link
Contributor

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.

@michallepicek
Copy link

michallepicek commented Nov 4, 2022

Stopping ModalBottomSheetLayout from moving/sliding/dragging is easy, but it still steals all the vertical events and therefore prevents from drawing properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants