Skip to content

Commit 7fb0691

Browse files
committed
Fix transfer buttons listeners.
Signed-off-by: ubi de feo <me@ubidefeo.com>
1 parent 2410393 commit 7fb0691

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ui/arduino/main.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,12 +591,14 @@ button.small .icon {
591591
width: 0;
592592
overflow: hidden;
593593
opacity: 0;
594+
pointer-events: none;
594595
transition: width 0.2s ease, opacity 0.15s ease;
595596
}
596597

597598
#file-actions.active {
598599
width: 28px;
599600
opacity: 1;
601+
pointer-events: auto;
600602
}
601603

602604
.device-header.selection-active button {

ui/arduino/views/components/file-actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function FileActions(state, emit, active = false) {
44
selectedFiles
55
} = state
66
return html`
7-
<div id="file-actions" class="${active ? 'active' : ''}" aria-hidden="${!active}" inert=${!active}>
7+
<div id="file-actions" class="${active ? 'active' : ''}" aria-hidden="${!active}">
88
${Button({
99
icon: 'arrow-left-white.svg',
1010
size: 'small',

0 commit comments

Comments
 (0)