Skip to content

Commit e5cbbca

Browse files
committed
Fix Console toolbar blocking click events when collapsed
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent d238f2e commit e5cbbca

5 files changed

Lines changed: 8 additions & 3 deletions

File tree

test/selenium/ExportTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace PhpMyAdmin\Tests\Selenium;
66

7-
use function sleep;
87
use function strtolower;
98

109
/**
@@ -174,8 +173,6 @@ private function doExport(string $type, string $plugin): string
174173
}
175174
}
176175

177-
$this->scrollToBottom();
178-
sleep(2);
179176
$this->scrollToBottom();
180177

181178
$this->waitForElement('id', 'buttonGo')->click();

themes/bootstrap/scss/_common.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,7 @@ table.show_create {
18771877
bottom: 0;
18781878
left: 0;
18791879
z-index: 100;
1880+
pointer-events: none;
18801881
}
18811882

18821883
#pma_console {
@@ -1896,6 +1897,7 @@ table.show_create {
18961897
background: #ccc;
18971898
border-top: solid 1px #aaa;
18981899
cursor: n-resize;
1900+
pointer-events: auto;
18991901

19001902
span {
19011903
vertical-align: middle;

themes/metro/scss/_common.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,6 +2127,7 @@ table.show_create {
21272127
bottom: 0;
21282128
left: 0;
21292129
z-index: 100;
2130+
pointer-events: none;
21302131
}
21312132

21322133
textarea {
@@ -2150,6 +2151,7 @@ textarea {
21502151
background: $th-background;
21512152
border-top: solid 1px #ccc;
21522153
cursor: n-resize;
2154+
pointer-events: auto;
21532155

21542156
span {
21552157
vertical-align: middle;

themes/original/scss/_common.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,6 +1889,7 @@ table.show_create {
18891889
bottom: 0;
18901890
left: 0;
18911891
z-index: 100;
1892+
pointer-events: none;
18921893
}
18931894

18941895
textarea {
@@ -1913,6 +1914,7 @@ textarea {
19131914
background: #ccc;
19141915
border-top: solid 1px #aaa;
19151916
cursor: n-resize;
1917+
pointer-events: auto;
19161918

19171919
span {
19181920
vertical-align: middle;

themes/pmahomme/scss/_common.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,7 @@ table.show_create {
20702070
bottom: 0;
20712071
left: 0;
20722072
z-index: 100;
2073+
pointer-events: none;
20732074
}
20742075

20752076
textarea {
@@ -2093,6 +2094,7 @@ textarea {
20932094
background: #ccc;
20942095
border-top: solid 1px #aaa;
20952096
cursor: n-resize;
2097+
pointer-events: auto;
20962098

20972099
span {
20982100
vertical-align: middle;

0 commit comments

Comments
 (0)