Richard Pospesel pushed to branch tor-browser-102.11.0esr-12.5-1 at The Tor 
Project / Applications / Tor Browser


Commits:
9f9de549 by Henry Wilkes at 2023-05-09T14:54:55+01:00
fixup! Bug 41600: Add a tor circuit display panel.

Bug 41770 - Stop blocking event propagation of keydown events that we do
not handle. This lets the arrow key events pass on to
ToolbarKeyboardNavigator.

- - - - -


1 changed file:

- browser/components/torcircuit/content/torCircuitPanel.js


Changes:

=====================================
browser/components/torcircuit/content/torCircuitPanel.js
=====================================
@@ -221,10 +221,10 @@ var gTorCircuitPanel = {
     // rather than a <html:button>, or <xul:toolbarbutton>, so we need to set 
up
     // listeners for both "click" and "keydown", and not for "command".
     this.toolbarButton.addEventListener("keydown", event => {
-      event.stopPropagation();
       if (event.key !== "Enter" && event.key !== " ") {
         return;
       }
+      event.stopPropagation();
       this.show();
     });
     this.toolbarButton.addEventListener("click", event => {



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/9f9de5495552a0ea66e1b250040ce9e67ddd0eac

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/9f9de5495552a0ea66e1b250040ce9e67ddd0eac
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to