apply escape action to the current page only

This commit is contained in:
yggverse 2024-12-26 20:55:02 +02:00
parent 04a34c91ca
commit 3fda9c851a
5 changed files with 75 additions and 14 deletions

View file

@ -176,7 +176,9 @@ impl Page {
const DEFAULT_MAX_REDIRECT_COUNT: usize = 10;
// Move focus out from navigation entry
self.browser_action.escape.activate();
self.browser_action
.escape
.activate_stateful_once(Some(self.id.as_str().into()));
// Initially disable find action
self.window_action.find.simple_action.set_enabled(false);