mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01: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:
@@ -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