Update to Next.js v16 - #2100
Open
mateoclarke wants to merge 3 commits into
Open
Conversation
✅ Deploy Preview for vzv-staging canceled.
|
✅ Deploy Preview for vze-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…ions Fixes error: ``` [browser] Detected `scroll-behavior: smooth` on the `<html>` element. To disable smooth scrolling during route transitions, add `data-scroll-behavior="smooth"` to your <html> element. Learn more: https://nextjs.org/docs/messages/missing-data-scroll-behavior ```
mateoclarke
commented
Jul 27, 2026
| }) { | ||
| return ( | ||
| <html lang="en" style={{ fontSize: "14px" }}> | ||
| <html lang="en" data-scroll-behavior="smooth" style={{ fontSize: "14px" }}> |
Contributor
Author
There was a problem hiding this comment.
Bootstrap already sets CSS scroll-behavior: smooth. Next 16 stopped auto-disabling that during route transitions unless you opt in with this attribute. Without it, you get a browser console warning:
[browser] Detected `scroll-behavior: smooth` on the `<html>` element. To disable smooth scrolling during route transitions, add `data-scroll-behavior="smooth"` to your <html> element. Learn more: https://nextjs.org/docs/messages/missing-data-scroll-behavior
mateoclarke
commented
Jul 27, 2026
| "no-unused-vars": "off", | ||
| "@typescript-eslint/no-unused-vars": "error", | ||
| // React Compiler rules newly enabled by eslint-config-next 16. | ||
| // Warn for now; fix and promote to error in a follow-up. |
Contributor
Author
There was a problem hiding this comment.
Going to tackle these 17 lint warnings in a follow-on PR
mateoclarke
requested review from
Charlie-Henry,
chiaberry,
frankhereford,
johnclary,
mddilley,
roseeichelmann and
tillyw
July 28, 2026 14:35
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.
Associated issues
Closes cityofaustin/atd-data-tech#25372
Currently there are 17 warnings coming from React Compiler via
npm run lint. I'll chip through them in a follow-up PR.Testing
URL to test:
Local or https://deploy-preview-2100--vze-staging.netlify.app/editor/crashes
Steps to test:
Ship list
mainbranch