fix clear focus loop
This commit is contained in:
@@ -1181,7 +1181,7 @@ end
|
||||
--- Clear focus from any element
|
||||
--- Removes keyboard focus from the currently focused element
|
||||
function flexlove.clearFocus()
|
||||
Context.clearFocus()
|
||||
Context.setFocused(nil)
|
||||
end
|
||||
|
||||
flexlove.Animation = Animation
|
||||
|
||||
@@ -197,7 +197,7 @@ local function buildMenu()
|
||||
justifyContent = "center",
|
||||
alignItems = "center",
|
||||
alignSelf = "center",
|
||||
--mode = "retained",
|
||||
z = 100,
|
||||
padding = { horizontal = 15, vertical = 15 },
|
||||
onEvent = function(_, event)
|
||||
if event.type == "release" then
|
||||
|
||||
Reference in New Issue
Block a user