A touch device is needed to reproduce this.
- open the drawer
- drag the drawer half-way towards the window edge
- drawer animates smoothly to the closed position
- drawer flickers at fully opened position for one frame, and then continues animating from where it was previously
The problem is that QQuickWindow::translateTouchToMouse() sends a weird mouse move event at coordinates INF,INF to clear hover (https://codereview.qt-project.org/#/c/142532/). Drawer should probably ignore this extra move event instead of calculating its position based on the INF,INF coordinates.