mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add focus trap to Modal component (#28754)
* Add focus-trap-react npm package * Trap the focus for the Modal * In some cases, the focus will not return to the trigger element * If there are no tabbable elements, the focus should fallback * Add explanations for focusTrapOptions props and extend test * Auto generate package-lock.json - Add focus-trap-react npm package GitOrigin-RevId: 488a05d5e95dd369c69bedcfaf7c1fd5e456e302
This commit is contained in:
@@ -138,6 +138,7 @@
|
||||
"express-http-proxy": "^1.6.0",
|
||||
"express-session": "^1.17.1",
|
||||
"file-type": "^21.0.0",
|
||||
"focus-trap-react": "^11.0.4",
|
||||
"globby": "^5.0.0",
|
||||
"helmet": "^6.0.1",
|
||||
"https-proxy-agent": "^7.0.6",
|
||||
|
||||
Reference in New Issue
Block a user