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

feat: added scroll aware navigation #171

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

heydoyouknowme0
Copy link
Contributor

@heydoyouknowme0 heydoyouknowme0 commented Apr 28, 2024

problems: current implementation functions on change of the divs visibility so if a div is never out of visible area, even if the prominent divs goes out of the area it doesnt revert to the first state.
have to limit intersection range
fixed: should work as intended in most devices

@heydoyouknowme0
Copy link
Contributor Author

@GetPsyched shouldn't this be merged before the pages.

@GetPsyched
Copy link
Member

It can be added retroactively. I've reviewed the PR and I'm not comfortable approving the changes across all pages just yet. It's fine if we keep this as a low priority until the pages are done.

@heydoyouknowme0
Copy link
Contributor Author

heydoyouknowme0 commented Aug 30, 2024

tbh I don't really like the implementation either, just don't know a better way

@GetPsyched
Copy link
Member

Yeah. Let's draft this PR until we crunch through the rest and we can get back to this later.

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.

Add scroll aware behaviour in ImageHeader's sticky nav
2 participants