Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete bug on header search bar #1

Open
nickdos opened this issue Aug 19, 2019 · 0 comments
Open

Autocomplete bug on header search bar #1

nickdos opened this issue Aug 19, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nickdos
Copy link

nickdos commented Aug 19, 2019

Not sure if this issue should be in commonui-bs3-2019 or ala-bootstrap3...

Problem: when typing a common name and then using down arrow key to select one of the prompted results, the JS code is substituting the wrong name in - may be an offset issue or one name in list is breaking the code.

Steps to reproduce:
https://bie.ala.org.au/
click magnifying glass icon in header and type into search box gang:

image

Use the down-arrow key to "step" through the autocomplete results until you get to the result "Ganges goby". Note the search bar now has the value "Tank Goby" and not the expected "Ganges goby".

I've experienced this a few times and it sometimes seems a bit random, with a previous scientific name (e.g. higher in the autocomplete results getting "stuck") being inserted into the search bar.

@nickdos nickdos added the bug Something isn't working label Aug 19, 2019
@nickdos nickdos changed the title Autocomplete on header search bar Autocomplete bug on header search bar Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants