Michael-48/Iris

Iris window non-moveable

Closed this issue · 7 comments

Every time I try to drag the window (titlebar) somewhere else, nothing happens. This is my code:

wait(5)

local StarterPlayerScripts = game.StarterPlayer.StarterPlayerScripts
local Iris = require(StarterPlayerScripts.Iris).Init(script.Parent)

Iris:Connect(function()
	local windowSize = Iris.State(Vector2.new(350, 250))
	Iris.Window({"Window"}, {size = windowSize})
	Iris.End()
end)

Hi, thanks for submitting this issue.

What is script.Parent in this context?

StarterGUI is currently the parent.

Also, I don't get any errors when I try to drag/resize the window.

@water-logger Do you get any errors when attempting to drag? Also what version of Iris are you using?

No, I'm using the latest version.

This is late, and I realise that my last question was not that helpful, but if you were to try the same code in a new baseplate file, does the issue still happen? If it does happen, could you upload the baseplate file with the issue.

Closing this issue as unable to replicate. As for how old the report is, Window code has changed significantly, its likely that this bug got patched at some point.