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

scroll container if expanded element is not visible #33

Merged
merged 3 commits into from
Dec 22, 2016
Merged

Conversation

v1r0x
Copy link
Member

@v1r0x v1r0x commented Dec 20, 2016

fix #27

Please review @eScienceCenter/spacialists

Copy link
Contributor

@AngusLeBoeuf AngusLeBoeuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shit functions but only after a refresh - if one search for two or more terms without refreshing it is not working!

@derntl
Copy link
Member

derntl commented Dec 21, 2016

Seems to work for some terms, but when I search for "Kaserne" for example, a subtree is expanded that does not contain Kaserne. The subtree where Kaserne is (under top level concept "Befestigung" ), is not expanded

@v1r0x
Copy link
Member Author

v1r0x commented Dec 21, 2016

I think there is a bug in the recursive query which fetches the expanded element's parents. I'd merge this PR since it fixes the problem of #27 an open a new issue to fix the expansion bug.

@derntl derntl merged commit a219c33 into master Dec 22, 2016
@derntl derntl deleted the scroll-to-result branch December 22, 2016 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search should scroll to first hit
3 participants