Page 1 of 1

[2.1.7] LuaGuiElement::scroll_to_* methods do not work on scroll-pane

Posted: Tue Jun 23, 2026 4:00 pm
by Shemp
Attempting to call one of the directional scroll_to_* methods on a scroll-pane element produces this error:
scroll_to_errors.png
scroll_to_errors.png (209.64 KiB) Viewed 136 times
This reads:

Code: Select all

Cannot execute command. Error: Only callable on text-box.
But the documentation page says they should all work with scroll-pane.

I tested scroll_to_element as well, which is documented to support only scroll-pane, and that does not produce the error.

Re: [2.1.7] LuaGuiElement::scroll_to_* methods do not work on scroll-pane

Posted: Tue Jun 23, 2026 4:06 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.