mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
We try to focus the new Segment after navigation. This behavior currently has now tests. I plan to change that behavior behind `experimental.appNewScrollHandler` so I'm adding some tests for the current behavior. The test is also meant as a fixture for manual testing with a screen reader.
4 lines
96 B
TypeScript
4 lines
96 B
TypeScript
export default function Page() {
|
|
return <p data-testid="segment-container">Hello, Dave!</p>
|
|
}
|