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

Always show current active page in left menu tree #102

Open
ant-tar opened this issue Mar 7, 2021 · 2 comments
Open

Always show current active page in left menu tree #102

ant-tar opened this issue Mar 7, 2021 · 2 comments

Comments

@ant-tar
Copy link

ant-tar commented Mar 7, 2021

Summary

When visiting a page, I have to scroll on the left menu and find current active item. To understand where you are now. Again and again :)

ezgif com-video-to-gif(2)

Why?

it would be great to see what active selected menu item is now (with opened subpages if any, this already works) e.g. centered on height:
2021-03-07 09 28 22

@Mark-H
Copy link
Collaborator

Mark-H commented Mar 16, 2021

What's interesting is that something appears to be already doing this, but not super consistently.

When on a page for an extra, it scrolls to the "MODX Extras" top-level menu item.

And when on https://docs.modx.com/current/en/extending-modx/xpdo/custom-models/defining-a-schema it does show you where you are properly.

The most fascinating of all though, is that I have no clue what's doing that 😆 It's not in the JS as far as I can tell and I don't think that's something CSS could do so I have no idea! 🤣

@ant-tar
Copy link
Author

ant-tar commented Mar 17, 2021

And when on https://docs.modx.com/current/en/extending-modx/xpdo/custom-models/defining-a-schema it does show you where you are properly.

It seems for me this is JS, when I disabled it(checked for several browsers) via web developer console scroll doesn't work this way at all.

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

No branches or pull requests

2 participants