-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Problem:** When adding a new page, the canvas viewport stays the same, which means that the new page could be far away. **Fix:** After adding a new page, scroll to the active scene (top-left) so the new content sits at a usable spot. Note: I did not reset the zoom too because after trying it out a bit it seems potentially confusing, but it's easy to add it. https://github.com/concrete-utopia/utopia/assets/1081051/e0da869d-884e-4dd8-872c-61e54d78a627 **Manual Tests:** I hereby swear that: - [x] I opened a hydrogen project and it loaded - [x] I could navigate to various routes in Preview mode Fixes #5867
- Loading branch information
Showing
1 changed file
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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