Title: [259168] trunk/Source/WebInspectorUI
- Revision
- 259168
- Author
- nvasil...@apple.com
- Date
- 2020-03-28 19:52:35 -0700 (Sat, 28 Mar 2020)
Log Message
Web Inspector: Network: pressing RightArrow or LeftArrow unexpectedly changes panels
https://bugs.webkit.org/show_bug.cgi?id=209625
<rdar://problem/60940609>
Reviewed by Timothy Hatcher.
* UserInterface/Views/NavigationBar.js:
(WI.NavigationBar.prototype._keyDown):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (259167 => 259168)
--- trunk/Source/WebInspectorUI/ChangeLog 2020-03-29 02:50:19 UTC (rev 259167)
+++ trunk/Source/WebInspectorUI/ChangeLog 2020-03-29 02:52:35 UTC (rev 259168)
@@ -1,3 +1,14 @@
+2020-03-28 Nikita Vasilyev <nvasil...@apple.com>
+
+ Web Inspector: Network: pressing RightArrow or LeftArrow unexpectedly changes panels
+ https://bugs.webkit.org/show_bug.cgi?id=209625
+ <rdar://problem/60940609>
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/NavigationBar.js:
+ (WI.NavigationBar.prototype._keyDown):
+
2020-03-27 Devin Rousso <drou...@apple.com>
Web Inspector: should also escape the method when Copy as cURL
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NavigationBar.js (259167 => 259168)
--- trunk/Source/WebInspectorUI/UserInterface/Views/NavigationBar.js 2020-03-29 02:50:19 UTC (rev 259167)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NavigationBar.js 2020-03-29 02:52:35 UTC (rev 259168)
@@ -372,6 +372,9 @@
if (!isLeftArrow && event.code !== "ArrowRight")
return;
+ if (this._selectedNavigationItem?.element !== document.activeElement)
+ return;
+
event.preventDefault();
event.stopPropagation();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes