SpyrexDE / SmoothScroll

Addon for the Godot Game Engine that adds a SmoothScrollContainer.
https://spyrexde.github.io/SmoothScroll/
MIT License
132 stars 10 forks source link

Fix bouncing issue if content is smaller #37

Closed HaroldLever closed 8 months ago

HaroldLever commented 8 months ago

Content would keep bouncing if child is smaller. Keep bouncing

SpyrexDE commented 8 months ago

I tried reproducing the issue, however, for me there was no with a content child smaller than the scroll container. What engine version do you use and could you maybe attach a project file that can reproduce that bug?

HaroldLever commented 8 months ago

example_scene.zip

Sorry for forgetting describing how to reproduce the issue. Just add a VBoxContainer as child of a bigger SmoothScrollContainer and add a button to VBoxContainer, then uncheck auto_allow_scroll and you can see the issue by simply scrolling it.