We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f69e04 commit 0f043ecCopy full SHA for 0f043ec
ui/arduino/components/blocking.js
@@ -1,9 +1,7 @@
1
function Blocking(state, emit) {
2
- let blocking = null
+ let blocking = html`<div id="blocking"></div>`
3
if (state.blocking) {
4
- blocking = html`
5
- <div id="blocking"></div>
6
- `
+ blocking.classList.add('active')
7
}
8
return blocking
9
ui/arduino/theme.css
@@ -350,6 +350,13 @@ img {
350
bottom: 0;
351
left: 0;
352
right: 0;
353
- background: var(--white-faded);
354
- z-index: 100;
+ pointer-events: none;
+ transition-property: all;
355
+ transition-duration: 0.2s;
356
+ transition-delay: 0.2s;
357
+ cursor: wait;
358
+}
359
+#blocking.active {
360
+ z-index: 999;
361
+ pointer-events: all;
362
0 commit comments