The normal way to close the window is by clicking the red X icon on the top right corner of a window. After clicking it should close the main and the other parts (tabs or naviagations) of the window for the player who clicked it.
The problem is that, the close button closes the main window for all the players except the one that clicked it. More surprisinly, it doesn't close other parts (only for other players)
This behaviour is normal if I've passed nil value as the second argument for ui.removeTextArea method. But it is not
Here is what is look like
function eventTextAreaCallback(id, name, evt)
-- ...
if evt == "close" then
ui.removeTextArea(id, name)
print(name) -- For me it's King_seniru#5890
-- handling other parts (which works fine)
end
-- ...
end
The normal way to close the window is by clicking the red
X
icon on the top right corner of a window. After clicking it should close the main and the other parts (tabs or naviagations) of the window for the player who clicked it. The problem is that, the close button closes the main window for all the players except the one that clicked it. More surprisinly, it doesn't close other parts (only for other players) This behaviour is normal if I've passednil
value as the second argument forui.removeTextArea
method. But it is notHere is what is look like
Reference
Steps to reproduce