You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an unfortunate side effect of the way we reimplemented the custom scrollbar functionality in the latest Skosmos release. When we switched away from the old and unmaintained mCustomScrollbar library, we had to also reimplement the centering of the hierarchy so that the currently selected concept is visible in the hierarchy when you open a concept page. I did that in PR #1372 (and tweaked in #1374) using the standard Element.scrollIntoView method. But this may scroll the entire page when the page is long enough, not just the hierarchy view which was intended.
At which URL did you encounter the problem?
https://finto.fi/ykl/fi/page/99.16
What steps will reproduce the problem?
Opening a class/concept page via direct link
What is the expected output? What do you see instead?
What is the expected output:
When opening the page you expect to see the top of the page
![kuva](https://user-images.githubusercontent.com/21304210/197991318-ab2a8ceb-dbbb-48a2-abed-20333f00362f.png)
What do you see instead?
When the page and the hierarchy tree opens, the focus of the page scrolls down
What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)
Firefox, Chrome & Edge
The text was updated successfully, but these errors were encountered: