8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350ec6c commit d243058Copy full SHA for d243058
src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php
@@ -588,6 +588,15 @@ function showCurrent(state)
588
var isSearchActive = !/\bsf-dump-search-hidden\b/.test(search.className);
589
if ((114 === e.keyCode && !isSearchActive) || (isCtrlKey(e) && 70 === e.keyCode)) {
590
/* F3 or CMD/CTRL + F */
591
+ if (70 === e.keyCode && document.activeElement === searchInput) {
592
+ /*
593
+ * If CMD/CTRL + F is hit while having focus on search input,
594
+ * the user probably meant to trigger browser search instead.
595
+ * Let the browser execute its behavior:
596
+ */
597
+ return;
598
+ }
599
+
600
e.preventDefault();
601
search.className = search.className.replace(/\bsf-dump-search-hidden\b/, '');
602
searchInput.focus();
0 commit comments