https://kotlinlang.org logo
#compose
Title
# compose
c

Chris Fillmore

02/24/2022, 4:44 PM
Any tips on troubleshooting
pointerInput
dead zones in your UI? I have some draggable elements that drag fine in some parts of the screen, but stop responding to drag events if I drop them in a particular area of the screen. I assume for now that I have some other UI (perhaps hidden) which may be capturing the touch input. But just reviewing the code, I haven’t spotted the source of the problem.
a

Andrew Neal

02/24/2022, 4:49 PM
Could it be the device you're testing on? Do you have the same problem with the emulator?
c

Chris Fillmore

02/24/2022, 4:53 PM
Good idea. I haven’t tested with the emulator because my app uses the camera, but I will give that a try
Ok I think I’ve asked the wrong question. I realized that the pointer input doesn’t move along with the draggable element. I’m going to ask a new top-level question
Lol nevermind, I solved the pointer-input-not-moving problem, I had the modifiers out of order. But I am back to the dead zone problem. This section of UI in the top left of the screen doesn’t respond to input.
2 Views