UIPageLayout.PageEnter and UIPageLayout.PageLeave events are not triggering

I was working on my UI, and when it came time to write code for it, it just was not working. I finally figured out that these events are just not firing. So I went into an empty baseplate to try and replicate it, and the same thing happened. Nothing happens when pages of UIPageLayout either enter or leave when attempting to fire their respective events. Am I missing something here?


UIPageLayoutBug.rbxl (60.9 KB)

I tried your file and can confirm they weren’t firing for me either.

Maybe you could use the CurrentPage property instead? That seems to work.

pageLayout:GetPropertyChangedSignal("CurrentPage"):Connect(function ()	
	print("Page is now", pageLayout.CurrentPage)
end)
1 Like

Thanks for the help. I will for sure be using this instead, although it does suck that the built in methods don’t even work. I think I will file a bug report on it.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.