UIPageLayout is now enabled. It is a new layout type based on the idea of pages which you can swap through, with one page being active at a time. It is animated out of the box, tweening between pages. It supports touch scrolling and gamepads natively.
I love this!!
The description for Circular on the wiki is a bit confusing though.
Took me a while to realize that it goes back to the first page after reaching the last one. It was the word “ends” that threw me off lol
All I need now is to be able to use ClipDescendants on rotated GuiObjects so I can use this feature in my game lol
This seems to not be working for me on mobile, but it works fine on desktop. Here is how I have mine setup (ignore the ScrollingFrame, it’s a regular Frame titled that because I switched out the scrolling frame for this without changing the code):
Oh sorry. The scrolling doesn’t work on mobile. I can see all my “tabs” but
it doesn’t move when I swipe. I can give you access to the game if you want
to see.
Unsure if this is intentional, but there seems to be a behavior where the constraint will not snap to a page on mobile, it will snap after tapping on a gui.
Edit: This is using the in-studio touch emulator, not a real device, I don’t know how it would act live
It looks like the issue is the ImageButtons. They’re sinking the input before the page layout can process it. I’m not sure if it’s possible to fix this with how Roblox currently handles input, but I’ll look into it.
Try updating roblox on your tablet to the latest version. There are currently some pretty old versions on mobile right now that we haven’t force upgraded.