So when you move the SelectionObject down with DPad, it scrolls the scrolling frame to be perfectly lined up with the selected object, but if there is an object under it but to the left in a grid, it won’t move down and you wouldn’t even know its there unless you moved all the way to the left.
I realize the way I worded that doesn’t make any sense so hopefully this gif will help, I’m repeatedly clicking DPad Down throughout the gif, on the green knife box it doesn’t go down, and on the purple one it does:
so the gui selection code does some automatic selection for you, but it does have its constraints. Essentially this works by comparing angle diffs between the selection direction and gui objects nearby. In the case here, the angle diff between the green and red box makes it hard for the system to realize you want to select that. Fortunately for edge cases you can override particular selection paths. Check out NextSelectionDown + Up + Left + Right (these are properties on gui objects). You can set your gui object to override the default selection if you want to fix edge cases.
Thank you, I forgot about that feature. However, I tried it out and ran into another problem. It only works if both frames are visible lol. Here is an example:
You can go from purple to orange when it’s visible, but when I went up, back down onto purple, pressing DPad down did nothing. At this point I think it would be better if ROBLOX did this from the Core side, but only in ScrollingFrames specifically. I can’t imagine a reason for someone not wanting this behavior in a ScrollingFrame.
Still an issue, an darthskrill’s method doesn’t work. I’ve tried manually setting NextSelectionDown and if it’s off-screen due to the ‘ClipsDescendant’ property of ScrollingFrames, it still won’t go down.
Hello, I’m aware of the mega-bump, but this is still an issue. Explicitly setting properties like NextSelectionDown don’t work until the first time the items are visible. So if you have a ScrollFrame, setting NextSelection properties won’t work until the first time the frame is scrolled through.
I’m also still encountering this, and never found a good solution. Specifically, when an item is clipped in a scrolling frame, I can’t select it with gamepad, in the same way that the above posts describe.