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

Scroll begin and Scroll end notifications are not sent #83633

Closed
AhNesh opened this issue Oct 19, 2023 · 1 comment · Fixed by #83636
Closed

Scroll begin and Scroll end notifications are not sent #83633

AhNesh opened this issue Oct 19, 2023 · 1 comment · Fixed by #83636

Comments

@AhNesh
Copy link

AhNesh commented Oct 19, 2023

Godot version

v4.2.beta2.official [f8818f8]

System information

Windows 10

Issue description

The NOTIFICATION_SCROLL_BEGIN and NOTIFICTION_SCROLL_END notifications are not propagated to child nodes of ScrollContainer.

Steps to reproduce

The MPR has a main scene with a ScrollContainer, a VBoxContainer and a bunch of Labels so it is tall enough to scroll. The first label has this script:

func _notification(what):
	if what == NOTIFICATION_SCROLL_BEGIN:
		print("scroll begin") #never happens
	elif what == NOTIFICATION_SCROLL_END:
		print("scroll end") #never happens

Scrolling in the ScrollContainer should trigger this notification, but it does not.

Minimal reproduction project

scroll notification.zip

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

Successfully merging a pull request may close this issue.

2 participants