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.
10 lines
190 B
TypeScript
10 lines
190 B
TypeScript
export default function InteractiveSegmentPage() {
|
|
return (
|
|
<textarea
|
|
data-testid="segment-container"
|
|
style={{ height: '50vh' }}
|
|
placeholder="Type here"
|
|
/>
|
|
)
|
|
}
|