Jakob K
01/24/2021, 1:55 PMWindowDraggableArea
in a way that it does not override any possible interaction in its area?
For example, if I define a WindowDraggableArea
and put a Button
inside of it, it is impossible to interact with the button (the draggable area seems to always be "on top").jim
01/24/2021, 3:16 PMWindowDragArea
is consuming the events too early for your use case (on the way down instead of on the way up); does that correctly restate your question? If you look at the implementation of WindowDraggableArea
, it is basically just a box with a dragGestureFilter
. It should be easy to write your own version of WindowDragArea
that uses your own dragGestureFilter
which has an "if" statement to check the PointerEventPass
before consuming the event.
cc @Roman Sedaikin [JB] for WindowDragArea
expertise.Jakob K
01/24/2021, 4:26 PMWindowDraggableArea
content body. The only downside is that I now have to manually set the size of WindowDraggableArea
.