mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-17 09:48:33 +00:00
fix(web/settings): run the close function when exiting with ESC
Apparently no one notices the focus was being trapped if you were to exit with ESC
This commit is contained in:
1 parent
d33df54f0e
commit
c4617f1f57
1 file changed
+1
@@ -46,6 +46,7 @@ const Settings: React.FC = () => {
|
||||
onClose={onClose}
|
||||
isCentered
|
||||
closeOnEsc
|
||||
onEsc={closeSettings}
|
||||
closeOnOverlayClick={false}
|
||||
size="xs"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user