UI-Gradient doesnt update when UI is not visible

So the title says it all
this is what happens

This is what i want to happen.


This is the script

	local IA = function(I)
		for _, A in pairs(FKG.body.AppGrid:GetChildren()) do
			if A:IsA("Frame") then
				local ST = I:lower()
				if A.Name:match(ST) then
					A.Visible = true
				else
					A.Visible = false
				end
			end
		end
	end
	coroutine.wrap(function()
		while task.wait() do
			IA(FKG.body.SearchApp.TextBox.Text)
		end
	end)()

Seems like this issue:

1 Like