lcdsantos/menuspy

New option: change the parent selector

salierg opened this issue · 1 comments

Is it possible to add to your options a new one to select the parent selector ?
Right now, select the page's height but it could be better to select a container.
For exemple, if you want a full page height (100vh) and in this page, you have a container with a "overflow: scroll-y". So you should select the height of this container and make your maths with this because the page is not scrolling but the content of your container is.

Great job for your package dude.

Yeah, I'm quite interested by this answer.

I found out it's a great tool combined with CSS Scroll Snap.