Studio breaks at `/studio` URL with experimentalFeature: ‘windowHistorySupport: true’
simonhrogers opened this issue · comments
simonhrogers commented
The studio breaks at /studio
URL with experimentalFeature: windowHistorySupport: true
.
Also, if you circumvent by visiting '/studio/structure' for e.g., then the studio will reload on each route change.
To Reproduce
next.config.js:
experimental: {
taint: true,
windowHistorySupport: true,
},
Steps to reproduce the behavior:
- Go to 'http://localhost:3000/studio'
- Click on 'anything'
- The page reloads
Which versions of Sanity are you using?
Present with latest version of Sanity studio and Next 14.0.3
Cody Olsen commented
Confirmed happening Next 14.0.3, and confirmed fixed by upgrading to 14.0.4 and 14.1.0 👍