Fix gradio dropdown capturing clicks during and after fadeout

This commit is contained in:
Kubuxu
2023-07-10 20:38:17 +01:00
parent 75a8c1f9d0
commit 4139e830cb
+5
View File
@@ -549,3 +549,8 @@ div.controlnet_main_options { display: grid; grid-template-columns: 1fr 1fr; gri
}
.log-monitor td, .log-monitor th { padding-left: 1em; }
.logo { background-image: url("logo.png") !important; background-repeat: no-repeat !important; background-position: center !important; background-size: contain !important; }
/* Workaround for Gradio dropdowns capturing clicks during and after fadeout */
.gradio-dropdown > label > div > :not(.showOptions) ~ ul.options {
pointer-events: none;
}