mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Set proper focus on tab navigation for file manager dialog. Fixes #5107
- Show focus when the Tab key is pressed - Pressing the Enter key on C:\ drive does not open it on Windows
This commit is contained in:
committed by
Akshay Joshi
parent
26cdda090e
commit
c9500a5122
@@ -748,8 +748,8 @@ define([
|
||||
return;
|
||||
if ($(this).find('.fa-file-text-o').length)
|
||||
$(this).click();
|
||||
// If folder then first select and then double click to opn folder
|
||||
else if ($(this).find('.fa-folder-open').length) {
|
||||
// If folder then first select and then double click to open folder/drive
|
||||
else if ($(this).find('.fa-folder-open').length || $(this).find('.fa-hdd-o').length) {
|
||||
$(this).click();
|
||||
setTimeout(() => { $(self).trigger('dblclick'); }, 10);
|
||||
}
|
||||
|
||||
@@ -346,3 +346,19 @@ table.tablesorter {
|
||||
outline: $input-focus-border-color auto 5px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Specific to IE11 where we want to highlight the focus on grid/row */
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
table.tablesorter {
|
||||
th:focus,
|
||||
tr:focus {
|
||||
border: 2px solid $input-focus-border-color !important;;
|
||||
}
|
||||
}
|
||||
|
||||
#contents {
|
||||
li:focus {
|
||||
border: 2px solid $input-focus-border-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user