You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Gotchas chapter, it says: "Calling this function will mess with the x position of the scrollbar. To fix this, call object:setScrollHeight() after calling this method."
I'm a bit confused because an issue with the x position should typically be fixed by adjusting the horizontal axis. After testing, it seems the correct fix is to use object:setScrollWidth() instead of object:setScrollHeight().
I'm not a senior developer, so this issue might need further verification by someone more experienced. Thanks a lot.