mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 12:01:32 +02:00
Call event.preventDefault on the "full project search" keyboard shortcut (#23147)
GitOrigin-RevId: 7cd7b2fa3eaf978377fc6f402bce92229fda2c51
This commit is contained in:
@@ -141,6 +141,7 @@ export const LayoutProvider: FC = ({ children }) => {
|
||||
event.key === 'f'
|
||||
) {
|
||||
if (isSplitTestEnabled('full-project-search')) {
|
||||
event.preventDefault()
|
||||
setProjectSearchIsOpen(true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user