The scrolling frame bug

the scrolling direction of scrolling frame when i change it from horizantal to vertical it doesn’t change until i change another property even thought teh canvas size is big enough and i tried so many times scripting it but didn’t work and didn’t even if i do it manually

Maybe try changing the canvas size along the axis where you changed the scrolling direction. Also, make sure you’re adjusting it using scale, because if you set the size to (2), it wouldn’t be the same in scale as in offset.


look at this
even though i changed from xy to x , i still see both vertically and horizanrtly bars

Then can you try changing the canvas size of Y to 0?

well this is awkward, when i play test it changes to only x and the y dissapears ,guess it is a bug from the studio

Well if the past solutions didnt work for you, maybe its a roblox studio bug as you said.

but when i stops the playtest, i still see the x and y

Can you show me the Canvas size frame in properties?

image
i ve just changed it to 1 and yeah i opened a new expreience and got the same bug

Can you try changing the Y canvas size to 0? so it looks like this


image

it works normally but why are u asking me this lol i don’t understand , well can u try with both 1,1 and try changeing that scrollingframe from x to y and u will see it stucks on x until u playtest

When you change Y canvas size to 0, the bug you are seeing disappears, because there will be nowhere no scroll in the Y axis, when I set it to {1,0}{1,0} it looks like this

But when I set it to {1,0},{0,0,}

Because there is nowhere to scroll in the Y axis.

what i mean is let them both be 1 and then try changeing the scrolldirection u will see it won’t change no matter what you do untill you update teh canvas size (doesn’t mattter if u set 0 u can update it to 2 and after that the scrolldirection will take effect)

Well the scrolling direction will always be locked to the direction you selected to. What wont be updated is the scrolling bar. So what you want to do is get rid of the scrolling bar, thats why im telling you to set Y size to 0, if you set scrolling direction to X.


i think this explains my issue brother

The scrolling direction does change. If you want the scrolling bar to disappear, then you can change the canvas size, the canvas size wont automatically change when you update the scrolling direction.

but shouldnt the bar change wheen i change the scrolling direction?

No because the space which used to be scrollable still exists.