Open threethan opened 3 years ago
While I haven't tested if this is fixed by another PR, #62289 DOES NOT fix this issue.
scene/gui/scrollcontainer.cpp
. #62289 addresses an input processing issue, does not modify scene/gui/scrollcontainer.cpp
, which I have confirmed to be the source of the issue (see #47931)
Godot version: Tested on 3.2.3, 3.2.4, and a build of 'latest' (4.0) made today.
OS/device including version: Issue is only present on mobile. Device tested was a Samsung Galaxy S8 US with a Snapdragon 835 SOC. Tested with GLES3 for 3.2.3, 3.2.4 and Vulkan for 4.0/'latest'
Issue description: Issue occurs on actual touch screens only, when interacting with a ScrollContainer node that has a deadzone. Expected behavior: When passing the deadzone, the container will scroll starting from its current position and continuing smoothly from there. The expected behavior can be observed when using a mouse and enabling 'Emulate touch from mouse' in the project's settings. Problematic behavior: When passing the deadzone, the container will instantly scroll a large and unpredictable amount for one frame. If the drag motion continues, the scroll will typically snap back to the expected position. However, with slow finger movement, it will flicker between scroll positions.
Steps to reproduce:
Minimal reproduction project:
ScrollTest.zip
I have already found the cause of this issue and will submit a pull request fixing it shortly!