This visual bug only occurs while typing within whitespaces in the command bar which display after pasting indented code. The date this bug started occurring is definitely before 1 month since this was posted (9th of May).
The window that pops up while typing code in the command bar is not positioned right in some cases, here is what it should look like :
The window is positioned correctly, right next to where I’m typing and it’s easier than having to move my cursor to the end of my screen while typing.
However, It looks like this in this case, it’s positioned at the right end of the screen, whereas I’m typing on the left, this is really inconvenient when referencing objects quickly.
How to reproduce this visual bug:
This occurs when typing code in the command bar which has whitespaces within it (mostly when copying indented code from a script into the command bar directly)
and moving the cursor into a gap/whitespace and typing there.
For example, copying this indented code into the command bar:
Sample code with whitespaces
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("DataStore")
local id = 123
local Data =
{
statistics = {
Coins = 20;
Cash = 20;
Money = 10;
}
}
local success = pcall(function()
DataStore:SetAsync(id, Data)
end)
local sample = workspace:WaitForChild("sample",5)
local sample2 = workspace:WaitForChild("sample2", 5)
for _, t in ipairs(sample:GetChildren()) do
return t
end
print("sample end")
Copied into the command bar, it looks like this:
(note whitespaces)
Now attempting to add new code within a gap:
The window shows at the right end of the screen, but my cursor (and where I’m typing) is on the left.