Skip to content
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

Nested scroll containers create weird jumping on Android #63669

Closed
pixelriot opened this issue Jul 30, 2022 · 3 comments
Closed

Nested scroll containers create weird jumping on Android #63669

pixelriot opened this issue Jul 30, 2022 · 3 comments

Comments

@pixelriot
Copy link

pixelriot commented Jul 30, 2022

Godot version

3.4.4, 3.3.4

System information

Android

Issue description

I'm trying to implement a "Netflix"-like library with several horizontal scroll containers, embedded in a vertical scroll container.

On desktop everything works fine but on Android the vertical and horizontal scroll seem to influence each other which leads to a weird jumping of the whole ui.

device-2022-07-30-110611.mp4

Steps to reproduce

Open the sample project and export or run it on an Android phone.
Try to scroll vertically and horizontally and notice the jumpy behavior.

Minimal reproduction project

APK:
Testproject.apk.zip

Godot project:
testproject.zip

@pixelriot
Copy link
Author

related issues:

#41661

#57356

@Rindbee
Copy link
Contributor

Rindbee commented Jul 30, 2022

This could be caused by event acceptance. When the child control does not accept the event, its parent control will try to accept it. The ScrollContainer also doesn't accept events when it can't scroll.

@madmiraal
Copy link
Contributor

Duplicate of #61816 that's fixed with #62289 and it's 3.x version #62290 and will be included in 3.5.

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

No branches or pull requests

5 participants