fix: smooth scroll navbar link#23
Merged
Merged
Conversation
Changed scroll behavior from 'instant' to 'smooth' in RouteTracker component. When users click the main navbar link, the page now smoothly animates back to the top instead of jumping instantly. Verified with playwright tests showing before/after states.
Changed scroll behavior from 'instant' to 'smooth' in RouteTracker component. When users click the main navbar link, the page now smoothly animates back to the top instead of jumping instantly.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
decipher-ms | 2111d77 | Commit Preview URL Branch Preview URL |
May 28 2026, 02:39 PM |
pedropaulovc
added a commit
that referenced
this pull request
May 28, 2026
## Summary Added smooth scroll behavior to anchor links that was missing from the previous PR. ## Changes - Added `behavior: 'smooth'` parameter to `scrollIntoView()` call for anchor links - Navbar links (#services, #topics, #approach, #founder, #briefing) now scroll smoothly This completes the smooth scroll UX improvement started in PR #23. 🤖 Generated with Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixed smooth scrolling for all navigation interactions. The navbar and anchor links now smoothly scroll instead of jumping instantly.
Changes
window.scrollTo()behavior from'instant'to'smooth'for navbar main link (App.tsx:20)behavior: 'smooth'toscrollIntoView()for anchor links like #services, #topics, etc. (App.tsx:18)Testing
🤖 Generated with Claude Code