mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(client/context): reset focus when selecting option (#310)
This commit is contained in:
@@ -101,6 +101,7 @@ RegisterNUICallback('clickContext', function(id, cb)
|
||||
openContextMenu = nil
|
||||
|
||||
SendNUIMessage({ action = 'hideContext' })
|
||||
lib.resetNuiFocus()
|
||||
|
||||
if data.onSelect then data.onSelect(data.args) end
|
||||
if data.event then TriggerEvent(data.event, data.args) end
|
||||
|
||||
Reference in New Issue
Block a user