mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Don't override search on Code View and Access Rules pages.
Summary: On some pages, Grist search doesn't work, so better to omit it and give a chance to browser's native search. Test Plan: Existing search tests should pass. Tested manually that shortcuts now open native browser search on Code View and Access Rules pages. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3703
This commit is contained in:
@@ -171,6 +171,8 @@ export function searchBar(model: SearchModel, testId: TestId = noTestId) {
|
||||
searchWrapper.cls('-expand', model.isOpen),
|
||||
dom.autoDispose(commandGroup),
|
||||
dom.autoDispose(lis),
|
||||
// Make sure we don't attempt to call delayed callback after disposal.
|
||||
dom.onDispose(() => toggleMenu.cancel()),
|
||||
cssHoverCircle(
|
||||
cssTopBarBtn('Search',
|
||||
testId('icon'),
|
||||
|
||||
Reference in New Issue
Block a user