-
Notifications
You must be signed in to change notification settings - Fork 16
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
odd zoom behaviour when using show_item parameter #44
Comments
@paulmaxus Could you please share an example that reproduces this issue? Thanks in advance! |
@neesjanvaneck Yes, of course. --- EDIT The better example is actually microbiology: |
Thanks again for reporting this issue @paulmaxus. I have fixed the issue in release 1.2.4. |
I've observed that when using the URL parameter show_item=x, the app zooms in on a node labeled y (x) instead of the node labeled x. I'm not familiar with the function levenSort, but it seems intuitively right to select the first item returned by the sort (line referenced below), so I'm wondering why I see the behaviour described above. The Levenshtein distance should be 0 for the exact match and I assumed sortedItems[0] would then return x.
VOSviewer-Online/src/component.js
Line 209 in b09674e
The text was updated successfully, but these errors were encountered: