Skip to content

Commit

Permalink
Fix weird find popup behavior when pressing escape
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Feb 5, 2024
1 parent 40aba9a commit 2ea506f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/keyboard-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ export class KeyboardManager {
tool: this._reader._tools['pointer'],
primaryViewFindState: {
...this._reader._state.primaryViewFindState,
popupOpen: false
active: false,
popupOpen: false,
},
secondaryViewFindState: {
...this._reader._state.secondaryViewFindState,
active: false,
popupOpen: false
}
});
Expand Down

0 comments on commit 2ea506f

Please sign in to comment.