Are there any alternative way to fix this scrolling frame bug?

Hello Developers.

I’m attempting to make it so that whenever a GUI rotation inside a scrolling frame gets changed, the GUI will still get clipped by the scrolling frame when it gets scrolled away. I tried to do some research, and there is no solution.

1 Like

As far as I am aware you can fix this using a Canvas Group. The scrolling frame does not affect descendants of it’s children.

Use a canvas group for each item where the rotating item is inside the canvas group. This should then clip it out properly.

Unfortunately Roblox never implemented ClipsDescendants properly.

2 Likes

Ah, ok. Thank you for the information and helping me out!

1 Like

I tried to but it doesn’t seems to work. Am I doing something wrong here?

Yea the CanvasGroup essentially acts as a Frame so instead of putting the image inside there, try replacing your parent frame with the canvas group. i.e TrollMenu should be a CanvasGroup, not a frame.

Does that make sense?

EDIT: The frame should be inside of the CanvasGroup, the frame itself can stay, that’s my mistake.

1 Like

YOU ABSOLUTELLY NOT NEED CANVAS GROUP FOR THAT
That insane waste of perfomance
just use ClipsDescendants

ClipDescendants is on btw. The clip descendant doesnt clip when rotation got changed.

In this case yeah you may try using canvas groups to bake it into a singular object.
That still a little strange behavior and i never expirienced that

1 Like

I tried and didn’t work sadly. I have to make section frames instead of using scrolling frame. Roblox really need to fix their stuff.

That could be zindex issues i think…
Try setting zindex behavior to global.
Becouse i remember it worked for me

yeah scroll frame objects wit rotation don’t clip (this might apply to normal frames too) so yeah uh idk what to tell you

Nope not the ZIndex. The rotation property messed it up.

Can you mark the correct solution please. CanvasGroups is the correct and best practice.

It is not a correct solution. I tried it many ways and it didn’t work.

1 Like

It does work and you need to do it correctly, I am requesting that you send me the UI so I can show you.

No need to. I tested it out and it work so yeah CanvasGroup is the solution. Thank you for the help!

1 Like

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