Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: align CSS dropdown-active class names with JavaScript (#2096)

LearningCircuit0ed380acb931
diff --git a/src/local_deep_research/web/static/css/custom_dropdown.css b/src/local_deep_research/web/static/css/custom_dropdown.css
index e4356fe5c6..8476bb1462 100644
--- a/src/local_deep_research/web/static/css/custom_dropdown.css
+++ b/src/local_deep_research/web/static/css/custom_dropdown.css
@@ -43,7 +43,7 @@
}
/* Styles for when the dropdown is active (fixed position, set by JS) */
-.ldr-custom-dropdown-list.dropdown-active {
+.ldr-custom-dropdown-list.ldr-dropdown-active {
z-index: 99999;
margin-top: 0;
max-height: 40vh;
@@ -62,7 +62,7 @@
}
/* Add a special class to the body when a dropdown is active */
-body.dropdown-active {
+body.ldr-dropdown-active {
/* Position relative ensures proper stacking context */
position: relative;
}
diff --git a/src/local_deep_research/web/static/js/components/custom_dropdown.js b/src/local_deep_research/web/static/js/components/custom_dropdown.js
index 2e43432c3e..53b22ce3a0 100644
--- a/src/local_deep_research/web/static/js/components/custom_dropdown.js
+++ b/src/local_deep_research/web/static/js/components/custom_dropdown.js
@@ -263,16 +263,6 @@
dropdownList.style.top = `${top}px`;
dropdownList.style.width = `${inputRect.width}px`;
- // Force DOM reflow to ensure styles are applied
- dropdownList.getBoundingClientRect();
-
- // Additional styling to ensure visibility
- dropdownList.style.visibility = 'visible';
- dropdownList.style.opacity = '1';
-
- // Ensure dropdown is visible by bringing it to front
- dropdownList.style.zIndex = '999999';
-
input.setAttribute('aria-expanded', 'true');
isOpen = true;
}