GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
205 stars 61 forks source link

Navigating to a refName if multiple results dialog is triggered can result in no-action #4452

Open cmdcolin opened 3 months ago

cmdcolin commented 3 months ago

See volvox example: the gff has features named ctgA, and the reference genome has the name ctgA, and this confuses the system

There could be a couple of approaches to fix. In some cases the refNames from the genome are short circuited so that no search index is looked up, but in what we see here, it is being looked up, so we can consider fixing that case

video: this is just searching ctgA when you are on ctgB from volvox, and manually clicking the ctgA result in the dropdown

https://github.com/GMOD/jbrowse-components/assets/6511937/ba049096-8319-490c-98ee-22d28a05c77a

cmdcolin commented 3 months ago

in the video the mouse pointer isnt shown apparently, but the end result is me hitting the "Go" button on the row with the N/A and it does nothing (because that entry has undefined result.getLocation())