--- a/svghmi/widget_dropdown.ysl2 Tue Feb 09 07:56:25 2021 +0100
+++ b/svghmi/widget_dropdown.ysl2 Tue Feb 09 07:57:14 2021 +0100
@@ -295,6 +295,7 @@
b.height.baseVal.value = m.height;
+ if(this.last_selection == undefined) return; let highlighted_row = this.last_selection - this.menu_offset;
if(highlighted_row < 0) return;
let spans = this.text_elt.children;