Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up to vercel#38682. Instead of checking if the full element is in the viewport we only check if the top of the element is in the viewport. If it is not we have to scroll back up in cases of navigating between items in the same layout for example.
- Loading branch information