Skip to content

Set the page position for post-details to always start at the very top OnInit #41

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

Closed
esthersoftwaredev opened this issue Mar 12, 2024 · 1 comment · Fixed by #53
Closed
Assignees
Labels
🤝 contributions welcome 🌟feature New feature or request good first issue Good for newcomers

Comments

@esthersoftwaredev
Copy link
Member

esthersoftwaredev commented Mar 12, 2024

Describe the solution you'd like

  • angular takes previous page position
  • adjust post-details so that the content is loading from the very top and you are not lower on the y-index of the page
  • to be implemented within the OnInit lifecycle in the post-details component
  • using the ViewportScroller see implementatinon here
@DongreJaipal
Copy link
Contributor

DongreJaipal commented Mar 21, 2024

.take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤝 contributions welcome 🌟feature New feature or request good first issue Good for newcomers
Projects
None yet
2 participants