This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
Enhance navigation with smooth scroll to specific elements #10349
Closed
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5847587 - Browse repository at this point
Copy the full SHA 5847587View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b5431 - Browse repository at this point
Copy the full SHA e2b5431View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0e090c - Browse repository at this point
Copy the full SHA c0e090cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ab84aa - Browse repository at this point
Copy the full SHA 7ab84aaView commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 91f2432 - Browse repository at this point
Copy the full SHA 91f2432View commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56671c9 - Browse repository at this point
Copy the full SHA 56671c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35c0e5f - Browse repository at this point
Copy the full SHA 35c0e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b4c991 - Browse repository at this point
Copy the full SHA 7b4c991View commit details -
Configuration menu - View commit details
-
Copy full SHA for ade05ad - Browse repository at this point
Copy the full SHA ade05adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 967f00d - Browse repository at this point
Copy the full SHA 967f00dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f1c4a3 - Browse repository at this point
Copy the full SHA 8f1c4a3View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 763ddf8 - Browse repository at this point
Copy the full SHA 763ddf8View commit details
Commits on Jul 26, 2023
-
Enhance navigation with smooth scroll to specific elements
This commit introduces changes to the directive.js and ProductQuery.php files. In directives.js, the functionality of fetching a page and updating scroll behavior is enhanced. Now, apart from the smooth or default scroll, the function also considers the 'scrollToSelector' property of a link. It calculates the top position of the element (identified by the selector) in the viewport and uses it for scrolling, providing a more precise and user-friendly scrolling experience. In ProductQuery.php, the navigation link payload is updated to include a 'scrollToSelector' attribute. This attribute uses a data attribute selector that identifies the product block that the navigation link should scroll to. These enhancements improve user navigation by allowing smooth scrolling to specific product blocks rather than just the top of the page.
Configuration menu - View commit details
-
Copy full SHA for 2abadbd - Browse repository at this point
Copy the full SHA 2abadbdView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.