Scrolling Frame inside of a Scrolling Frame unable to scroll with wheel

Hi people! I have a issue…
In my game I have a top bar (which scrolls vertical), and a main scrolling one (scrolls down), this is so on all dimensions the GUI is clearly visible. The top bar scroll is inside of the main scrolling one, on mobile it works fine - however when you try to use scroll wheel on the top bar it wont work and think its for the main scrolling one, any ideas on how to fix this?

4 Likes

It may have to do with the mechanics of scrolling. I’m sure, but there may be an option where it gives you the option to choose which was a gui can scroll. Again I’m not sure.

1 Like

I see, I cannot find any property what can do this unfortunately, still looking for help

1 Like

Maybe you can set the zIndex property of the top bar higher than the background frames zIndex? @Aeonill

1 Like

Im pretty sure ive tried this on global and sibling zindex setting and it does not work. (The horizontal scroll is above the vertical in zindex.)

1 Like

Ran into the same issue. Wish there was a fix for this.

1 Like

Hello, I just came across your post while looking for a problem with scrolling frames. I have the solution to your problem if it has never been resolved on your side. All you have to do is change the Y value of the CanvaSize of your main scrolling frame.

image

image

I’m late, but I found this thread while looking for a solution for this problem.

I end up finding a workaround that fix the issue.

While exploring the issue, I found out it was only problematic when there is a horizontal scroll frame inside a vertical scroll frame. So my solution is to use a vertical scroll frame for both, then to rotate the child scroll frame -90 degrees. Finally, you have to rotate the content of the items by 90 degrees (You can’t rotate the first child if there is a UIlistlayout) so you need to rotate the content inside it.

It’s not perfect and limiting in certain ways, but at least it works.

Edit: Added a GIF showing it. Don’t mind the style of my wireframe
Edit2: If you need to use Clip Descend in the child Scrollframe, it has to be in a CanvasGroup instead of a frame else it won’t work
RobloxStudioBeta_icUZowJEvQ

1 Like

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