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

Prevent scroll reset on variant change #2672

Merged
merged 3 commits into from
Dec 12, 2024
Merged

Conversation

scottdixon
Copy link
Contributor

WHY are these changes introduced?

In the the product form updates we switched from links to buttons. We also need to port over preventScrollReset.

12-21-h4tid-quvj6.mp4

WHAT is this pull request doing?

navigate takes a preventScrollReset option.

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

Copy link
Contributor

shopify bot commented Dec 12, 2024

Oxygen deployed a preview of your sd-product-form-prevent-scroll branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment December 12, 2024 8:53 AM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment December 12, 2024 8:53 AM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment December 12, 2024 8:53 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment December 12, 2024 8:53 AM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment December 12, 2024 8:53 AM

Learn more about Hydrogen's GitHub integration.

@scottdixon scottdixon marked this pull request as ready for review December 12, 2024 01:23
@scottdixon scottdixon merged commit e6654f0 into main Dec 12, 2024
11 checks passed
@scottdixon scottdixon deleted the sd-product-form-prevent-scroll branch December 12, 2024 08:53
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.

2 participants