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

viewTransitions : transition:animate="morph" traget page have same scroll position as source page #7913

Closed
1 task
FrenchTechLead opened this issue Aug 1, 2023 · 1 comment
Labels
feat: view transitions Related to the View Transitions feature (scope) needs triage Issue needs to be triaged

Comments

@FrenchTechLead
Copy link

FrenchTechLead commented Aug 1, 2023

What version of astro are you using?

2.9.6

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

I'm testing the new viewTransitions API and I created a morph effect from one page to another.
When the navigation is done the target page is on the same scroll position as the source page was.

What's the expected result?

Give the possibility to keep the same scroll position or to reset the scroll to the default position.

You can find an example of the undesired behaviour on my website:
1- Open page : https://frenchtechlead.com/blog/_index/
2- Scroll to the bottom of the page.
3- Click on one of the last elements of the list.

Link to Minimal Reproducible Example

https://frenchtechlead.com/blog/_index/

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Aug 1, 2023
@natemoo-re natemoo-re added the feat: view transitions Related to the View Transitions feature (scope) label Aug 1, 2023
@natemoo-re
Copy link
Member

Closing as a duplicate of #7882.

@natemoo-re natemoo-re closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: view transitions Related to the View Transitions feature (scope) needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants