-
Notifications
You must be signed in to change notification settings - Fork 20
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
Previously shown wikipedia page gets displayed again after searching for unrelated taxon #892
Comments
Yup, spot on. This has been an issue for some time.
OZtree/OZprivate/rawJS/OZTreeModule/src/controller/controller_interactor.js Lines 91 to 102 in f90d82c
Once the pop-up is closed and you start moving about, eventually another Getting the UI to call Ideally it'd be the UI managing the page URL, the treeviewer doing it is somewhat backward. |
Thanks @lentinj for giving context and background on this issue. I'm not familiar enough with the UI side of things to be of much help, but if there is a way to address it cheaply and with low regression risk, it would be nice. |
@jaredkhan, in case you get inspired by this one, it might be a good low hanging fruit :) |
A comment from a user that's closely related but doesn't involve closing the wiki page before going to the search bar "Some weirdness with the internal browser. Not sure what the solution is but I feel like either the browser should just be closed when you click away or the browser should open at the new node (second sounds harder to me). |
@jrosindell yes, that is really the same issue. Basically, when you pop up the wikipedia page and dismiss it (whether by closing it with the X or by clicking anywhere outside), the |
Repro steps:
Result: it goes to Tiger, but then also pops up the Lion wikipedia page again!
I think part of the problem is that
pop=ol_563151
stays in the URL after dismissing the wikipedia page. And after navigation through search, it ends up being applied again.Note that after dismissing the wikipedia page, if you drag the tree or zoom in or out, the
pop=ol_563151
disappears and the issue does not occur. It only occurs if you search right after dismissing it (which for me, is rather common!).The text was updated successfully, but these errors were encountered: