Fix Excluded Species search for Chrome

Appears to be a issue scrolling a select list option into view and then setting it's selected state to true (as if the user had clicked on it) this seems to break all future calls of scrollIntoView on any options, regardless if the selected state if removed from all options.

scrollIntoView works perfectly otherwise and opted to apply a style to visually highlight the option. This turned out way better
This commit is contained in:
jaredb7
2023-04-07 19:19:05 +10:00
parent 9b6d3d7f0a
commit 1018fbf40d
2 changed files with 20 additions and 8 deletions
+6
View File
@@ -828,6 +828,12 @@ pre#timer.bash {
background-color: #9fe29b;
}
.exclude_species_list_option_highlight {
color: black;
background-color: rgb(119, 196, 135);
font-weight: bolder;
}
#ddnewline::before {
content: none;
}