Merge pull request #1639 from Kubuxu/fix/gradio-dropdown-fadeout-click

Bad Kubuxu, bad. Fix for previous merge.
This commit is contained in:
Aptronymist
2023-07-10 17:20:29 -04:00
committed by GitHub
+1 -1
View File
@@ -551,6 +551,6 @@ div.controlnet_main_options { display: grid; grid-template-columns: 1fr 1fr; gri
.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 {
.gradio-dropdown > label > div > div:first-child:not(.showOptions) ~ ul.options {
pointer-events: none;
}